Skip to content

Commit

Permalink
anthropic[patch]: release 0.3.4 (#29399)
Browse files Browse the repository at this point in the history
  • Loading branch information
ccurme authored Jan 23, 2025
1 parent ed797e1 commit bbc50f6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 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 @@ -767,7 +767,7 @@ def _format_output(self, data: Any, **kwargs: Any) -> ChatResult:
if (
len(content) == 1
and content[0]["type"] == "text"
and "citations" not in content[0]
and not content[0].get("citations")
):
msg = AIMessage(content=content[0]["text"])
elif any(block["type"] == "tool_use" for block in content):
Expand Down
10 changes: 5 additions & 5 deletions libs/partners/anthropic/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions 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.3"
version = "0.3.4"
description = "An integration package connecting AnthropicMessages and LangChain"
authors = []
readme = "README.md"
Expand All @@ -22,7 +22,7 @@ plugins = ['pydantic.mypy']
[tool.poetry.dependencies]
python = ">=3.9,<4.0"
anthropic = ">=0.41.0,<1"
langchain-core = "^0.3.30"
langchain-core = "^0.3.31"
pydantic = "^2.7.4"

[tool.ruff.lint]
Expand Down

0 comments on commit bbc50f6

Please sign in to comment.