mirror of
https://github.com/hwchase17/langchain
synced 2024-11-10 01:10:59 +00:00
22 lines
535 B
Python
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",
|
|
}
|