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