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