langchain_core.tracers.log_stream
.RunState¶
- class langchain_core.tracers.log_stream.RunState[source]¶
State of the run.
- id: str¶
ID of the run.
- streamed_output: List[Any]¶
List of output chunks streamed by Runnable.stream()
- final_output: Optional[Any]¶
Final output of the run, usually the result of aggregating (+) streamed_output. Updated throughout the run when supported by the Runnable.
- logs: Dict[str, langchain_core.tracers.log_stream.LogEntry]¶
Map of run names to sub-runs. If filters were supplied, this list will contain only the runs that matched the filters.