bodhi-realtime-agent / SubagentCompletionMetadata
Interface: SubagentCompletionMetadata
Defined in: src/runtime/subagent-completion.ts:38
Metadata attached to every completion.
Properties
configName
configName:
string
Defined in: src/runtime/subagent-completion.ts:40
Config name of the subagent that ran.
durationMs
durationMs:
number
Defined in: src/runtime/subagent-completion.ts:42
Total wall-clock duration in milliseconds.
lifetime
lifetime:
"ephemeral"|"persistent_session"
Defined in: src/runtime/subagent-completion.ts:46
Lifetime mode of the workflow.
stepCount?
optionalstepCount?:number
Defined in: src/runtime/subagent-completion.ts:44
Number of AI SDK steps executed.