Home / Function/ test_o1_stream_default_works() — langchain Function Reference

test_o1_stream_default_works() — langchain Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

libs/partners/openai/tests/integration_tests/chat_models/test_base.py lines 1085–1087

def test_o1_stream_default_works() -> None:
    result = list(ChatOpenAI(model="o1").stream("say 'hi'"))
    assert len(result) > 0

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free