Skip to content

bodhi-realtime-agent / buildFailureCompletion

Function: buildFailureCompletion() ​

buildFailureCompletion(params): SubagentCompletion

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

Build a SubagentCompletion from a failed workflow.

Parameters ​

params ​

configName ​

string

durationMs ​

number

error ​

string

lifetime? ​

"ephemeral" | "persistent_session"

toolCallId ​

string

workflowId ​

string

Returns ​

SubagentCompletion

Built with VitePress