Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

integrations[patch]: bump core to 0.3.15 #27805

Merged
merged 3 commits into from
Oct 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions libs/partners/anthropic/langchain_anthropic/chat_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,12 @@ def _merge_messages(
all(isinstance(m, c) for m in (curr, last))
for c in (SystemMessage, HumanMessage)
):
if isinstance(last.content, str):
new_content: List = [{"type": "text", "text": last.content}]
if isinstance(cast(BaseMessage, last).content, str):
new_content: List = [
{"type": "text", "text": cast(BaseMessage, last).content}
]
else:
new_content = copy.copy(last.content)
new_content = copy.copy(cast(list, cast(BaseMessage, last).content))
if isinstance(curr.content, str):
new_content.append({"type": "text", "text": curr.content})
else:
Expand Down
6 changes: 3 additions & 3 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.2.3"
version = "0.2.4"
description = "An integration package connecting AnthropicMessages and LangChain"
authors = []
readme = "README.md"
Expand All @@ -21,7 +21,7 @@ disallow_untyped_defs = "True"
[tool.poetry.dependencies]
python = ">=3.9,<4.0"
anthropic = ">=0.30.0,<1"
langchain-core = "^0.3.9"
langchain-core = "^0.3.15"
pydantic = "^2.7.4"

[tool.ruff.lint]
Expand Down
6 changes: 3 additions & 3 deletions libs/partners/fireworks/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/fireworks/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-fireworks"
version = "0.2.1"
version = "0.2.5"
description = "An integration package connecting Fireworks and LangChain"
authors = []
readme = "README.md"
Expand All @@ -20,7 +20,7 @@ disallow_untyped_defs = "True"

[tool.poetry.dependencies]
python = ">=3.9,<4.0"
langchain-core = "^0.3.9"
langchain-core = "^0.3.15"
fireworks-ai = ">=0.13.0"
openai = "^1.10.0"
requests = "^2"
Expand Down
708 changes: 374 additions & 334 deletions libs/partners/groq/poetry.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions libs/partners/groq/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-groq"
version = "0.2.0"
version = "0.2.1"
description = "An integration package connecting Groq and LangChain"
authors = []
readme = "README.md"
Expand All @@ -20,7 +20,7 @@ disallow_untyped_defs = "True"

[tool.poetry.dependencies]
python = ">=3.9,<4.0"
langchain-core = "^0.3"
langchain-core = "^0.3.15"
groq = ">=0.4.1,<1"

[tool.ruff.lint]
Expand Down
325 changes: 180 additions & 145 deletions libs/partners/huggingface/poetry.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions libs/partners/huggingface/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-huggingface"
version = "0.1.1"
version = "0.1.2"
description = "An integration package connecting Hugging Face and LangChain"
authors = []
readme = "README.md"
Expand All @@ -20,7 +20,7 @@ disallow_untyped_defs = "True"

[tool.poetry.dependencies]
python = ">=3.9,<4.0"
langchain-core = "^0.3.13"
langchain-core = "^0.3.15"
tokenizers = ">=0.19.1"
transformers = ">=4.39.0"
sentence-transformers = ">=2.6.0"
Expand Down
954 changes: 497 additions & 457 deletions libs/partners/mistralai/poetry.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions libs/partners/mistralai/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-mistralai"
version = "0.2.0"
version = "0.2.1"
description = "An integration package connecting Mistral and LangChain"
authors = []
readme = "README.md"
Expand All @@ -20,7 +20,7 @@ disallow_untyped_defs = "True"

[tool.poetry.dependencies]
python = ">=3.9,<4.0"
langchain-core = "^0.3.0"
langchain-core = "^0.3.15"
tokenizers = ">=0.15.1,<1"
httpx = ">=0.25.2,<1"
httpx-sse = ">=0.3.1,<1"
Expand Down
Loading
Loading