langchain/libs/partners/fireworks/tests/unit_tests/test_standard.py
2024-04-11 18:23:13 -07:00

22 lines
535 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_fireworks import ChatFireworks
class TestFireworksStandard(ChatModelUnitTests):
@pytest.fixture
def chat_model_class(self) -> Type[BaseChatModel]:
return ChatFireworks
@pytest.fixture
def chat_model_params(self) -> dict:
return {
"api_key": "test_api_key",
}