mistral[patch]: release 0.2.5 (#29463)

This commit is contained in:
ccurme 2025-01-28 18:29:54 -05:00 committed by GitHub
parent ca9d4e4595
commit 585f467d4a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 9 additions and 9 deletions

View File

@ -1,4 +1,4 @@
# This file is automatically @generated by Poetry 1.8.3 and should not be changed by hand.
# This file is automatically @generated by Poetry 1.8.2 and should not be changed by hand.
[[package]]
name = "annotated-types"
@ -408,7 +408,7 @@ files = [
[[package]]
name = "langchain-core"
version = "0.3.27"
version = "0.3.32"
description = "Building applications with LLMs through composability"
optional = false
python-versions = ">=3.9,<4.0"
@ -417,7 +417,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\""},
@ -433,7 +433,7 @@ url = "../../core"
[[package]]
name = "langchain-tests"
version = "0.3.7"
version = "0.3.9"
description = "Standard tests for LangChain implementations"
optional = false
python-versions = ">=3.9,<4.0"
@ -442,7 +442,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\""},
@ -1295,4 +1295,4 @@ watchmedo = ["PyYAML (>=3.10)"]
[metadata]
lock-version = "2.0"
python-versions = ">=3.9,<4.0"
content-hash = "1bd49400cf26151c0085367007da5a482c2285d933e241d3ccb8bdad4b2c5269"
content-hash = "ee9ca9455bf313bec56b64ac54a2d61ad43fb71340385f1fe17fb8eed00463b6"

View File

@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "langchain-mistralai"
version = "0.2.4"
version = "0.2.5"
description = "An integration package connecting Mistral and LangChain"
authors = []
readme = "README.md"
@ -20,7 +20,7 @@ disallow_untyped_defs = "True"
[tool.poetry.dependencies]
python = ">=3.9,<4.0"
langchain-core = "^0.3.27"
langchain-core = "^0.3.32"
tokenizers = ">=0.15.1,<1"
httpx = ">=0.25.2,<1"
httpx-sse = ">=0.3.1,<1"

View File

@ -191,7 +191,7 @@ class BookDict(TypedDict):
def _check_parsed_result(result: Any, schema: Any) -> None:
if schema == Book:
assert isinstance(result, Book)
elif schema == BookDict:
else:
assert all(key in ["name", "authors"] for key in result.keys())