[pull] 0.x from laravel:0.x#60
Merged
Merged
Conversation
…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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 : )