mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-24 20:12:11 +00:00
Using `pyupgrade` to get all `partners` code up to 3.9 standards (mostly, fixing old `typing` imports).
19 lines
459 B
Python
19 lines
459 B
Python
"""Standard LangChain interface tests"""
|
|
|
|
from langchain_core.language_models import BaseChatModel
|
|
from langchain_tests.unit_tests.chat_models import (
|
|
ChatModelUnitTests,
|
|
)
|
|
|
|
from langchain_groq import ChatGroq
|
|
|
|
|
|
class TestGroqStandard(ChatModelUnitTests):
|
|
@property
|
|
def chat_model_class(self) -> type[BaseChatModel]:
|
|
return ChatGroq
|
|
|
|
@property
|
|
def chat_model_params(self) -> dict:
|
|
return {"model": "llama-3.1-8b-instant"}
|