RunInfo Class — langchain Architecture
Architecture documentation for the RunInfo class in event_stream.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD c03d3c6c_5f22_aa70_d4b9_67e547cb7e2c["RunInfo"] 1bf0b874_2a05_f5ee_944a_a70022bbedb8["event_stream.py"] c03d3c6c_5f22_aa70_d4b9_67e547cb7e2c -->|defined in| 1bf0b874_2a05_f5ee_944a_a70022bbedb8
Relationship Graph
Source Code
libs/core/langchain_core/tracers/event_stream.py lines 58–83
class RunInfo(TypedDict):
"""Information about a run.
This is used to keep track of the metadata associated with a run.
"""
name: str
"""The name of the run."""
tags: list[str]
"""The tags associated with the run."""
metadata: dict[str, Any]
"""The metadata associated with the run."""
run_type: str
"""The type of the run."""
inputs: NotRequired[Any]
"""The inputs to the run."""
parent_run_id: UUID | None
"""The ID of the parent run."""
tool_call_id: NotRequired[str | None]
"""The tool call ID associated with the run."""
Source
Frequently Asked Questions
What is the RunInfo class?
RunInfo is a class in the langchain codebase, defined in libs/core/langchain_core/tracers/event_stream.py.
Where is RunInfo defined?
RunInfo is defined in libs/core/langchain_core/tracers/event_stream.py at line 58.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free