mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-21 06:14:37 +00:00
17 lines
453 B
Python
17 lines
453 B
Python
"""Standard LangChain interface tests"""
|
|
|
|
from typing import Type
|
|
|
|
from langchain_core.language_models import BaseChatModel
|
|
from langchain_tests.unit_tests import ( # type: ignore[import-not-found]
|
|
ChatModelUnitTests, # type: ignore[import-not-found]
|
|
)
|
|
|
|
from langchain_mistralai import ChatMistralAI
|
|
|
|
|
|
class TestMistralStandard(ChatModelUnitTests):
|
|
@property
|
|
def chat_model_class(self) -> Type[BaseChatModel]:
|
|
return ChatMistralAI
|