mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-28 14:05:02 +00:00
Using `pyupgrade` to get all `partners` code up to 3.9 standards (mostly, fixing old `typing` imports).
15 lines
428 B
Python
15 lines
428 B
Python
"""Standard LangChain interface tests"""
|
|
|
|
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
|