langchain/libs/partners/mistralai/tests/unit_tests/test_standard.py
2024-04-09 12:43:00 -07:00

16 lines
405 B
Python

"""Standard LangChain interface tests"""
from typing import Type
import pytest
from langchain_core.language_models import BaseChatModel
from langchain_standard_tests.unit_tests import ChatModelUnitTests
from langchain_mistralai import ChatMistralAI
class TestMistralStandard(ChatModelUnitTests):
@pytest.fixture
def chat_model_class(self) -> Type[BaseChatModel]:
return ChatMistralAI