Skip to content

fix: assemble Anthropic streamed tool_use blocks before replay - #6957

Closed
lorenzozanee wants to merge 1 commit into
1Panel-dev:v2from
lorenzozanee:fix/anthropic-tool-use-streaming
Closed

lorenzozanee wants to merge 1 commit into
1Panel-dev:v2from
lorenzozanee:fix/anthropic-tool-use-streaming

Conversation

@lorenzozanee

Copy link
Copy Markdown

Summary

Anthropic streams tool arguments as input_json_delta events, which were replayed as invalid message content. Assemble those fragments into completed tool_use.input blocks and reject incomplete or unmatched tool state.

Fixes #6480

Reviewers

CaptainB, shenkaibo, wxg0103

@liuruibin

Copy link
Copy Markdown
Member

我们无法有效验证这个问题,不合并

@liuruibin liuruibin closed this Sep 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants