Home / Function/ test_schema_parsing_failures_responses_api_async() — langchain Function Reference

test_schema_parsing_failures_responses_api_async() — langchain Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  7a684e51_c465_9964_722b_28dfcbf62272["test_schema_parsing_failures_responses_api_async()"]
  bd382a4e_442c_13ae_530c_6e34bc43623d["test_base.py"]
  7a684e51_c465_9964_722b_28dfcbf62272 -->|defined in| bd382a4e_442c_13ae_530c_6e34bc43623d
  style 7a684e51_c465_9964_722b_28dfcbf62272 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/partners/openai/tests/integration_tests/chat_models/test_base.py lines 1268–1275

async def test_schema_parsing_failures_responses_api_async() -> None:
    llm = ChatOpenAI(model="gpt-5-nano", use_responses_api=True)
    try:
        await llm.ainvoke("respond with good", response_format=BadModel)
    except Exception as e:
        assert e.response is not None  # type: ignore[attr-defined]
    else:
        raise AssertionError

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free