Skip to content

Commit 184ea8a

Browse files
authored
anthropic[patch]: update tool choice type (#29276)
1 parent ac52021 commit 184ea8a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

libs/partners/anthropic/langchain_anthropic/chat_models.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -982,7 +982,7 @@ class GetPrice(BaseModel):
982982
)
983983
else:
984984
kwargs["tool_choice"] = {
985-
"type": "any",
985+
"type": "auto",
986986
"disable_parallel_tool_use": disable_parallel_tool_use,
987987
}
988988

libs/partners/anthropic/pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
44

55
[tool.poetry]
66
name = "langchain-anthropic"
7-
version = "0.3.2"
7+
version = "0.3.3"
88
description = "An integration package connecting AnthropicMessages and LangChain"
99
authors = []
1010
readme = "README.md"

0 commit comments

Comments
 (0)