mirror of
https://github.com/hwchase17/langchain.git
synced 2025-07-03 03:38:06 +00:00
anthropic[patch]: update tool choice type (#29276)
This commit is contained in:
parent
ac52021097
commit
184ea8aeb2
@ -982,7 +982,7 @@ class ChatAnthropic(BaseChatModel):
|
||||
)
|
||||
else:
|
||||
kwargs["tool_choice"] = {
|
||||
"type": "any",
|
||||
"type": "auto",
|
||||
"disable_parallel_tool_use": disable_parallel_tool_use,
|
||||
}
|
||||
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user