Function: resolveTurnIds()¶
resolveTurnIds(
groups,traceByRun?):object
Defined in: src/feedback/useTurnFeedback.ts:55
Resolve the identifying ids for a turn from the activity groups it produced.
The run-level trace (traceByRun) wins over any group's own traceId
because nested agents may complete under their own invocation traces.
Parameters¶
groups¶
traceByRun?¶
Record\<string, string>
Returns¶
runId?¶
optionalrunId?:string
AG-UI run id of the turn's first run, when known.
traceId?¶
optionaltraceId?:string
OTel trace id of the turn's root run, when telemetry was enabled.
turnId?¶
optionalturnId?:string
kaboo turn id (stable across interrupt/resume), when known.