We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cbfbde4 commit 4998d0aCopy full SHA for 4998d0a
libs/aws/langchain_aws/chat_models/bedrock_converse.py
@@ -468,7 +468,6 @@ def _converse_params(
468
if not toolConfig and tools:
469
toolChoice = _format_tool_choice(toolChoice) if toolChoice else None
470
toolConfig = {"tools": _format_tools(tools), "toolChoice": toolChoice}
471
-
472
return _drop_none(
473
{
474
"modelId": modelId or self.model_id,
@@ -667,7 +666,7 @@ def _anthropic_to_bedrock(
667
666
bedrock_content.append(
668
669
"toolResult": {
670
- "toolUseId": block["toolUseId"],
+ "toolUseId": block["tool_use_id"],
671
"content": _anthropic_to_bedrock(content),
672
}
673
0 commit comments