test_schema_parsing_failures_responses_api() — langchain Function Reference
Architecture documentation for the test_schema_parsing_failures_responses_api() function in test_base.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD e13adf8a_5b10_9c83_bfbc_6636992eb742["test_schema_parsing_failures_responses_api()"] bd382a4e_442c_13ae_530c_6e34bc43623d["test_base.py"] e13adf8a_5b10_9c83_bfbc_6636992eb742 -->|defined in| bd382a4e_442c_13ae_530c_6e34bc43623d style e13adf8a_5b10_9c83_bfbc_6636992eb742 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/partners/openai/tests/integration_tests/chat_models/test_base.py lines 1244–1251
def test_schema_parsing_failures_responses_api() -> None:
llm = ChatOpenAI(model="gpt-5-nano", use_responses_api=True)
try:
llm.invoke("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
Source
Frequently Asked Questions
What does test_schema_parsing_failures_responses_api() do?
test_schema_parsing_failures_responses_api() 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() defined?
test_schema_parsing_failures_responses_api() is defined in libs/partners/openai/tests/integration_tests/chat_models/test_base.py at line 1244.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free