Skip to content

Commit

Permalink
mistralai[patch]: fix core version (langchain-ai#19454)
Browse files Browse the repository at this point in the history
  • Loading branch information
efriis authored and rahul-trip committed Mar 27, 2024
1 parent d224f05 commit 83e53b8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion libs/partners/mistralai/poetry.lock

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

2 changes: 1 addition & 1 deletion libs/partners/mistralai/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ license = "MIT"

[tool.poetry.dependencies]
python = ">=3.8.1,<4.0"
langchain-core = "^0.1.27"
langchain-core = "^0.1.31"
tokenizers = "^0.15.1"
httpx = ">=0.25.2,<1"
httpx-sse = ">=0.3.1,<1"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Test ChatMistral chat model."""

from langchain_mistralai.chat_models import ChatMistralAI


Expand Down Expand Up @@ -63,7 +64,7 @@ def test_invoke() -> None:
assert isinstance(result.content, str)


def test_structred_output() -> None:
def test_structured_output() -> None:
llm = ChatMistralAI(model="mistral-large-latest", temperature=0)
schema = {
"title": "AnswerWithJustification",
Expand Down

0 comments on commit 83e53b8

Please sign in to comment.