Skip to content

Commit

Permalink
anthropic[patch]: update tool choice type (#29276)
Browse files Browse the repository at this point in the history
  • Loading branch information
ccurme authored Jan 17, 2025
1 parent ac52021 commit 184ea8a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libs/partners/anthropic/langchain_anthropic/chat_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -982,7 +982,7 @@ class GetPrice(BaseModel):
)
else:
kwargs["tool_choice"] = {
"type": "any",
"type": "auto",
"disable_parallel_tool_use": disable_parallel_tool_use,
}

Expand Down
2 changes: 1 addition & 1 deletion libs/partners/anthropic/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 184ea8a

Please sign in to comment.