Repository navigation
Conversation
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Together with PR #352, this PR closes the AISOS-2535 feature.
Vertex Claude task-generation graphs currently fail before an HTTP request because LangChain's provider strategy passes
response_formatand binding-widestrictto the Anthropic Vertex SDK. This PR translates the native JSON schema tooutput_config.formatwhile leaving ordinary tools non-strict. Explicit strict tools retain their opt-in only when schema adaptation preserves their accepted argument shapes, including nested union branches.The adapter rejects truncated or refused responses even if their text happens to be valid JSON. Forge falls back to validated tool output only for an explicit provider error saying native output is unsupported for the model; transient Vertex failures retry the native strategy, while schema, policy, and SDK errors remain visible. The Anthropic dependency floor is raised to 0.77.0, the first locally verified version with the required
output_configAPI.Validation: 69 focused Vertex/agent tests passed with
-W error, including a real LangChain graph over mocked HTTP; Ruff and targeted mypy passed, and the lockfile check passed. In a separate worktree containing this PR plus the independent recursion PR, the complete Python 3.12 host suite passed: 3,657 passed, 25 skipped, zero failures or warnings, with Redis tests against a disposable local Redis Stack container.Live provider acceptance, deployment, and AISOS-2485 recovery remain separate release gates.