Skip to content

bodhi-realtime-agent / buildCancelledCompletion

Function: buildCancelledCompletion() ​

buildCancelledCompletion(params): SubagentCompletion

Defined in: src/runtime/subagent-completion.ts:106

Build a SubagentCompletion from a cancelled workflow.

Parameters ​

params ​

configName ​

string

durationMs ​

number

lifetime? ​

"ephemeral" | "persistent_session"

toolCallId ​

string

workflowId ​

string

Returns ​

SubagentCompletion

Built with VitePress