From ed3ef009a75bb6fd3daee27c7c245c81d44ffcdc Mon Sep 17 00:00:00 2001 From: Chester Curme Date: Fri, 17 Jan 2025 15:02:27 -0500 Subject: [PATCH] any -> auto --- libs/partners/anthropic/langchain_anthropic/chat_models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/partners/anthropic/langchain_anthropic/chat_models.py b/libs/partners/anthropic/langchain_anthropic/chat_models.py index 842d30ae00da3..af7045d74aeb2 100644 --- a/libs/partners/anthropic/langchain_anthropic/chat_models.py +++ b/libs/partners/anthropic/langchain_anthropic/chat_models.py @@ -982,7 +982,7 @@ class GetPrice(BaseModel): ) else: kwargs["tool_choice"] = { - "type": "any", + "type": "auto", "disable_parallel_tool_use": disable_parallel_tool_use, }