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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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,
}

View File

@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "langchain-anthropic"
version = "0.3.2"
version = "0.3.3"
description = "An integration package connecting AnthropicMessages and LangChain"
authors = []
readme = "README.md"