Skip to content

fix(aigateway): preserve Anthropic tool calls and streaming - #1529

Open
xxx7xxxx wants to merge 1 commit into
easegress-io:mainfrom
xxx7xxxx:dev
Open

xxx7xxxx wants to merge 1 commit into
easegress-io:mainfrom
xxx7xxxx:dev

Conversation

@xxx7xxxx

Copy link
Copy Markdown
Contributor

Summary

  • Preserve tool-use stop reasons and stream complete Anthropic tool-call events from OpenAI-compatible providers.
  • Validate streaming and non-streaming tool-result round trips end to end with the Anthropic SDK.

Fixes #1528.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: AI gateway's OpenAI → Anthropic conversion loses tool calls (stream) and reports end_turn with tool_use blocks (non-stream)

1 participant