Expand description
Telemetry helpers for DCI.
Provides shims around rig-tap to capture latency and costs.
Functionsยง
- current_
session - Retrieve the active session ID if one is set.
- record_
prompt - Emit a prompt-completed telemetry event carrying token usage.
- record_
tool_ call - Record a tool invocation and completion with latency.
- with_
session - Run an asynchronous closure within a telemetry session scope.