mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
cannot handle claude tool-use response #121
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
Originally created by @czx2zch on GitHub (Mar 26, 2025).
Self Checks
Dify version
1.1.1
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
hi
now,i use bing search tool with LLM(claude 3.7 sonnet),it response error。
✔️ Expected Behavior
it will be nomarl running
❌ Actual Behavior
some error happened,error:
[bedrock] Error: PluginlnvokeError: {"args":
{"description":"An error occurred
(validationException) when calling the
ConverseStream operation: The model returned the
following errors: messages.1.content.0.type: Expected
thinking or
redacted thinking, but foundtool use
.Whenthinkingis enabled, a final assistantmessage must start with a thinking block(preceeding the lastmost set of
tool useandtool result
blocks).We recommend you include thinking blocks from previous turns. To avoid this requirement,disablethinking."},"error_type":"InvokeError","message":"Ar error occurred (validationException) when calling the ConverseStream operation: The model returned the following errors: messages.1.content.0.type: Expected thinkingorredacted thinking, but foundtool use
.when thinkingis enabled, a finalassistant
message must start with a thinking block (preceeding the lastmost set of tool useandtool result
blocks).We recommend you include thinking blocks from previous turns, To avoid this requirement, disablethinking`."}@czx2zch commented on GitHub (Mar 26, 2025):
this is the error image:
@fdb02983rhy commented on GitHub (Mar 26, 2025):
Whats your plugin version?
@czx2zch commented on GitHub (Mar 26, 2025):
i tried some plugin,all error。
such as:langgenius/bing 0.0.4
@fdb02983rhy commented on GitHub (Mar 26, 2025):
Sorry I meant your Anthropic plugin version
@tang2554 commented on GitHub (Jun 8, 2025):
same error, langgenius/bedrock 0.0.24
@dosubot[bot] commented on GitHub (Aug 20, 2025):
Hi, @czx2zch. I'm Dosu, and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale.
Issue Summary:
Next Steps:
Thank you for your understanding and contribution!