anthropic[patch]: update tool choice type (#29276)

This commit is contained in:
ccurme
2025-01-17 15:26:33 -05:00
committed by GitHub
parent ac52021097
commit 184ea8aeb2
2 changed files with 2 additions and 2 deletions

View File

@@ -982,7 +982,7 @@ class ChatAnthropic(BaseChatModel):
)
else:
kwargs["tool_choice"] = {
"type": "any",
"type": "auto",
"disable_parallel_tool_use": disable_parallel_tool_use,
}