mirror of
https://github.com/hwchase17/langchain.git
synced 2025-07-03 19:57:51 +00:00
anthropic[patch]: release 0.3.4 (#29399)
This commit is contained in:
parent
ed797e17fb
commit
bbc50f65e7
@ -767,7 +767,7 @@ class ChatAnthropic(BaseChatModel):
|
||||
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):
|
||||
|
10
libs/partners/anthropic/poetry.lock
generated
10
libs/partners/anthropic/poetry.lock
generated
@ -453,7 +453,7 @@ files = [
|
||||
|
||||
[[package]]
|
||||
name = "langchain-core"
|
||||
version = "0.3.30"
|
||||
version = "0.3.31"
|
||||
description = "Building applications with LLMs through composability"
|
||||
optional = false
|
||||
python-versions = ">=3.9,<4.0"
|
||||
@ -462,7 +462,7 @@ develop = true
|
||||
|
||||
[package.dependencies]
|
||||
jsonpatch = "^1.33"
|
||||
langsmith = ">=0.1.125,<0.3"
|
||||
langsmith = ">=0.1.125,<0.4"
|
||||
packaging = ">=23.2,<25"
|
||||
pydantic = [
|
||||
{version = ">=2.5.2,<3.0.0", markers = "python_full_version < \"3.12.4\""},
|
||||
@ -478,7 +478,7 @@ url = "../../core"
|
||||
|
||||
[[package]]
|
||||
name = "langchain-tests"
|
||||
version = "0.3.8"
|
||||
version = "0.3.9"
|
||||
description = "Standard tests for LangChain implementations"
|
||||
optional = false
|
||||
python-versions = ">=3.9,<4.0"
|
||||
@ -487,7 +487,7 @@ develop = true
|
||||
|
||||
[package.dependencies]
|
||||
httpx = ">=0.25.0,<1"
|
||||
langchain-core = "^0.3.22"
|
||||
langchain-core = "^0.3.31"
|
||||
numpy = [
|
||||
{version = ">=1.24.0,<2.0.0", markers = "python_version < \"3.12\""},
|
||||
{version = ">=1.26.2,<3", markers = "python_version >= \"3.12\""},
|
||||
@ -1357,4 +1357,4 @@ watchmedo = ["PyYAML (>=3.10)"]
|
||||
[metadata]
|
||||
lock-version = "2.0"
|
||||
python-versions = ">=3.9,<4.0"
|
||||
content-hash = "882c131a2202eb925560eaf821003a5c0b007131ceb3954bbbf6b1722f756e97"
|
||||
content-hash = "48de1bbc2c2a7ac34e395e3fdea1e3c49c2066df7cbfd8636aedf17ad17164fe"
|
||||
|
@ -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"
|
||||
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user