Home / Function/ test_agent_iterator_manual_run_id() — langchain Function Reference

test_agent_iterator_manual_run_id() — langchain Function Reference

Architecture documentation for the test_agent_iterator_manual_run_id() function in test_agent_iterator.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  25ea9d9f_f5b7_8e1a_1d68_7ff0ed2395e5["test_agent_iterator_manual_run_id()"]
  2423e003_42f4_7c6a_3fba_30db54c07a0c["test_agent_iterator.py"]
  25ea9d9f_f5b7_8e1a_1d68_7ff0ed2395e5 -->|defined in| 2423e003_42f4_7c6a_3fba_30db54c07a0c
  style 25ea9d9f_f5b7_8e1a_1d68_7ff0ed2395e5 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/langchain/tests/unit_tests/agents/test_agent_iterator.py lines 252–260

def test_agent_iterator_manual_run_id() -> None:
    """Test react chain iterator with manually specified run_id."""
    agent = _get_agent()
    run_id = UUID("f47ac10b-58cc-4372-a567-0e02b2c3d479")
    with collect_runs() as cb:
        agent_iter = agent.stream("when was langchain made", {"run_id": run_id})
        list(agent_iter)
        run = cb.traced_runs[0]
        assert run.id == run_id

Domain

Subdomains

Frequently Asked Questions

What does test_agent_iterator_manual_run_id() do?
test_agent_iterator_manual_run_id() is a function in the langchain codebase, defined in libs/langchain/tests/unit_tests/agents/test_agent_iterator.py.
Where is test_agent_iterator_manual_run_id() defined?
test_agent_iterator_manual_run_id() is defined in libs/langchain/tests/unit_tests/agents/test_agent_iterator.py at line 252.

Analyze Your Own Codebase

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

Try Supermodel Free