test_effort_in_output_config() — langchain Function Reference
Architecture documentation for the test_effort_in_output_config() function in test_chat_models.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD cae38949_883f_d8e5_cf2a_6bc6ed70c3af["test_effort_in_output_config()"] 18428dc5_a41b_90c6_88ad_615296ee3311["test_chat_models.py"] cae38949_883f_d8e5_cf2a_6bc6ed70c3af -->|defined in| 18428dc5_a41b_90c6_88ad_615296ee3311 style cae38949_883f_d8e5_cf2a_6bc6ed70c3af fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/partners/anthropic/tests/unit_tests/test_chat_models.py lines 2118–2125
def test_effort_in_output_config() -> None:
"""Test that effort can be specified in `output_config`."""
# Test valid effort in output_config
model = ChatAnthropic(
model="claude-opus-4-5-20251101",
output_config={"effort": "low"},
)
assert model.model_kwargs["output_config"] == {"effort": "low"}
Domain
Subdomains
Source
Frequently Asked Questions
What does test_effort_in_output_config() do?
test_effort_in_output_config() is a function in the langchain codebase, defined in libs/partners/anthropic/tests/unit_tests/test_chat_models.py.
Where is test_effort_in_output_config() defined?
test_effort_in_output_config() is defined in libs/partners/anthropic/tests/unit_tests/test_chat_models.py at line 2118.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free