mirror of
https://github.com/hwchase17/langchain
synced 2024-11-11 19:11:02 +00:00
855ba46f80
just chat models for now
16 lines
405 B
Python
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
|