bodhi-realtime-agent / RunSubagentOptions
Interface: RunSubagentOptions
Defined in: agent/subagent-runner.ts:26
Options for running a background subagent via the Vercel AI SDK.
Properties
abortSignal?
optionalabortSignal:AbortSignal
Defined in: agent/subagent-runner.ts:36
Signal to abort the subagent execution (e.g. on tool cancellation).
config
config:
SubagentConfig
Defined in: agent/subagent-runner.ts:28
Subagent configuration (instructions, tools, maxSteps).
context
context:
SubagentContextSnapshot
Defined in: agent/subagent-runner.ts:30
Conversation snapshot providing context for the subagent.
hooks
hooks:
HooksManager
Defined in: agent/subagent-runner.ts:32
Hook manager for onSubagentStep notifications.
model
model:
LanguageModelV1
Defined in: agent/subagent-runner.ts:34
Language model to use for the subagent's generateText call.
session?
optionalsession:SubagentSession
Defined in: agent/subagent-runner.ts:38
Interactive session for user input. Required when config.interactive is true.