Home / Function/ test_verbosity_parameter_payload() — langchain Function Reference

test_verbosity_parameter_payload() — langchain Function Reference

Architecture documentation for the test_verbosity_parameter_payload() function in test_base.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  13e885ca_0d91_54b8_9c90_b540788a710d["test_verbosity_parameter_payload()"]
  48232d20_f8c1_b597_14fa_7dc407e9bfe5["test_base.py"]
  13e885ca_0d91_54b8_9c90_b540788a710d -->|defined in| 48232d20_f8c1_b597_14fa_7dc407e9bfe5
  style 13e885ca_0d91_54b8_9c90_b540788a710d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/partners/openai/tests/unit_tests/chat_models/test_base.py lines 1331–1338

def test_verbosity_parameter_payload() -> None:
    """Test verbosity parameter is included in request payload for Responses API."""
    llm = ChatOpenAI(model="gpt-5", verbosity="high", use_responses_api=True)

    messages = [{"role": "user", "content": "hello"}]
    payload = llm._get_request_payload(messages, stop=None)

    assert payload["text"]["verbosity"] == "high"

Domain

Subdomains

Frequently Asked Questions

What does test_verbosity_parameter_payload() do?
test_verbosity_parameter_payload() is a function in the langchain codebase, defined in libs/partners/openai/tests/unit_tests/chat_models/test_base.py.
Where is test_verbosity_parameter_payload() defined?
test_verbosity_parameter_payload() is defined in libs/partners/openai/tests/unit_tests/chat_models/test_base.py at line 1331.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free