Skip to content

Claude Sonnet 3.5 (Bedrock) Always announces which tool it's going to use. #3616

Answered by BenGrabowski
KentonParton asked this question in Help
Discussion options

You must be logged in to vote

I've been dealing with the same issue and I just switched to use Sonnet 3.5 v2. I also added the following to my system prompt:

"Do not show your "chain of thought" before choosing a tool. If you decide to call a tool, the first chunks should be tool-call and not text-delta."

I got the idea from this portion of Anthropic's documentation: https://docs.anthropic.com/en/docs/build-with-claude/tool-use#chain-of-thought

I'm now getting tool-call and tool-result chunks streamed before text-delta chunks

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@KentonParton
Comment options

Answer selected by KentonParton
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants