Skip to content

[pull] 0.x from laravel:0.x#60

Merged
pull[bot] merged 7 commits into
HinchK:0.xfrom
laravel:0.x
Jun 23, 2026
Merged

[pull] 0.x from laravel:0.x#60
pull[bot] merged 7 commits into
HinchK:0.xfrom
laravel:0.x

Conversation

@pull

@pull pull Bot commented Jun 23, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

vinitkadam03 and others added 7 commits June 23, 2026 09:57
…726)

* Migrate Anthropic gateway to SingleTurnTextGateway via StepLoop

Anthropic's tool loop, pause_turn resume, and synthetic-structured-output
handling moved out of the parsing/streaming traits and into the orchestrator.
The gateway now executes one Messages-API turn at a time and returns a
SingleTurnResponse carrying the raw content blocks for verbatim replay
(thinking, tool_use, server_tool_use, web_search_tool_result).

pause_turn is surfaced as FinishReason::Continue so the orchestrator can
re-send the assistant message as-is for server-side resumption without
executing any tool calls.

ensureToolInputIsObject and serializeToolResultOutput moved from
ParsesTextResponses to MapsMessages, where they are actually called.

Builds on split/foundation-openai. Refs #347.

* Fix code styling

* Formatting

* Formatting

* Update MapsMessages.php

---------

Co-authored-by: Pushpak Chhajed <pushpak1300@gmail.com>
* Migrate xAI gateway to StepTextGateway via TextGenerationLoop

xAI's tool loop and structured output handling moved out of the gateway
and into the shared TextGenerationLoop orchestrator. The gateway now
executes one Responses API turn at a time and returns a StepResponse.

The response ID is carried as continuationToken so follow-up tool-call
steps use previous_response_id instead of replaying the full conversation.

buildContinuationBody and extractToolResultsInput extracted into
BuildsTextRequests alongside mergeSharedResponsesRequestOptions to keep
full and continuation request shapes in sync.

serializeToolResultOutput moved from ParsesTextResponses to MapsMessages
where it is actually called.

* Extract buildStepBody into BuildsTextRequests to deduplicate step branching

generateTextStep and generateStreamStep had the same continuation-vs-fresh
ternary. buildStepBody in BuildsTextRequests now owns that decision,
mirroring the pattern in OpenAI's HandlesTextSteps.

* Update xAI model fallbacks to current Grok models

---------

Co-authored-by: Pushpak Chhajed <pushpak1300@gmail.com>
* Convert Ollama text gateway to TextGenerationLoop

* Add Ollama Cloud integration tests and fix structured output

Use ComposesSchemaInstructions (shared with Groq/DeepSeek) to inject the
JSON schema instruction into the system message, so cloud-hosted Ollama
models that don't enforce grammar-based JSON output still follow the schema.

Add ollama (gpt-oss:20b) to agent-providers for integration tests. Fix
ErrorHandlingTest and EmbeddingTest beforeEach to also reset url to
localhost so Http::fake() intercepts correctly when OLLAMA_URL is set.
@pull pull Bot locked and limited conversation to collaborators Jun 23, 2026
@pull pull Bot added the ⤵️ pull label Jun 23, 2026
@pull
pull Bot merged commit 46160f7 into HinchK:0.x Jun 23, 2026
1 check passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants