fix(transport): retry without tool_choice when upstream fails forced tool call #123
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nsaspy/a0-symbolics!123
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/responses-upstream-tool-choice"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #122. Adds TransportRecovery.RETRY_DROP_TOOL_CHOICE so a Responses response.failed of the form 'upstream model did not return a valid tool call for the requested tool_choice' (observed via OpenRouter/NextBit upstreams) retries once with tool_choice dropped instead of crashing the turn, exposes tool_choice_dropped capability metadata, and adds a regression test.