Ask a question to get started
Enter to sendā¢Shift+Enter new line
collect_runs() -> Generator[RunCollectorCallbackHandler, None, None]
Collect all run traces in context.
Example:
with collect_runs() as runs_cb: chain.invoke("foo") run_id = runs_cb.traced_runs[0].id