mirror of
https://github.com/hwchase17/langchain.git
synced 2025-07-04 04:07:54 +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:
|
else:
|
||||||
kwargs["tool_choice"] = {
|
kwargs["tool_choice"] = {
|
||||||
"type": "any",
|
"type": "auto",
|
||||||
"disable_parallel_tool_use": disable_parallel_tool_use,
|
"disable_parallel_tool_use": disable_parallel_tool_use,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
|
|||||||
|
|
||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "langchain-anthropic"
|
name = "langchain-anthropic"
|
||||||
version = "0.3.2"
|
version = "0.3.3"
|
||||||
description = "An integration package connecting AnthropicMessages and LangChain"
|
description = "An integration package connecting AnthropicMessages and LangChain"
|
||||||
authors = []
|
authors = []
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
|
Loading…
Reference in New Issue
Block a user