test_standard.py — langchain Source File
Architecture documentation for test_standard.py, a python file in the langchain codebase. 5 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 90991cb0_6073_e90e_666a_f26436bbf47c["test_standard.py"] 120e2591_3e15_b895_72b6_cb26195e40a6["pytest"] 90991cb0_6073_e90e_666a_f26436bbf47c --> 120e2591_3e15_b895_72b6_cb26195e40a6 ba43b74d_3099_7e1c_aac3_cf594720469e["langchain_core.language_models"] 90991cb0_6073_e90e_666a_f26436bbf47c --> ba43b74d_3099_7e1c_aac3_cf594720469e 43d88577_548b_2248_b01b_7987bae85dcc["langchain_core.tools"] 90991cb0_6073_e90e_666a_f26436bbf47c --> 43d88577_548b_2248_b01b_7987bae85dcc 8f882798_3f47_fa1f_5253_3b7193f357a9["langchain_tests.integration_tests"] 90991cb0_6073_e90e_666a_f26436bbf47c --> 8f882798_3f47_fa1f_5253_3b7193f357a9 9d19aeb9_35aa_ec9e_adca_9ac1aea84236["langchain_fireworks"] 90991cb0_6073_e90e_666a_f26436bbf47c --> 9d19aeb9_35aa_ec9e_adca_9ac1aea84236 style 90991cb0_6073_e90e_666a_f26436bbf47c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
"""Standard LangChain interface tests."""
import pytest
from langchain_core.language_models import BaseChatModel
from langchain_core.tools import BaseTool
from langchain_tests.integration_tests import ( # type: ignore[import-not-found]
ChatModelIntegrationTests, # type: ignore[import-not-found]
)
from langchain_fireworks import ChatFireworks
class TestFireworksStandard(ChatModelIntegrationTests):
@property
def chat_model_class(self) -> type[BaseChatModel]:
return ChatFireworks
@property
def chat_model_params(self) -> dict:
return {
"model": "accounts/fireworks/models/kimi-k2-instruct-0905",
"temperature": 0,
}
@pytest.mark.xfail(reason="Not yet implemented.")
def test_tool_message_histories_list_content(
self, model: BaseChatModel, my_adder_tool: BaseTool
) -> None:
super().test_tool_message_histories_list_content(model, my_adder_tool)
@property
def supports_json_mode(self) -> bool:
return True
Domain
Subdomains
Classes
Dependencies
- langchain_core.language_models
- langchain_core.tools
- langchain_fireworks
- langchain_tests.integration_tests
- pytest
Source
Frequently Asked Questions
What does test_standard.py do?
test_standard.py is a source file in the langchain codebase, written in python. It belongs to the CoreAbstractions domain, MessageSchema subdomain.
What does test_standard.py depend on?
test_standard.py imports 5 module(s): langchain_core.language_models, langchain_core.tools, langchain_fireworks, langchain_tests.integration_tests, pytest.
Where is test_standard.py in the architecture?
test_standard.py is located at libs/partners/fireworks/tests/integration_tests/test_standard.py (domain: CoreAbstractions, subdomain: MessageSchema, directory: libs/partners/fireworks/tests/integration_tests).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free