bodhi-realtime-agent / ToolCallRouterDeps
Interface: ToolCallRouterDeps
Defined in: core/tool-call-router.ts:13
Callbacks that the ToolCallRouter needs from VoiceSession.
Properties
agentRouter
agentRouter:
AgentRouter
Defined in: core/tool-call-router.ts:15
conversationContext
conversationContext:
ConversationContext
Defined in: core/tool-call-router.ts:16
notificationQueue
notificationQueue:
BackgroundNotificationQueue
Defined in: core/tool-call-router.ts:17
subagentConfigs
subagentConfigs:
Record<string,SubagentConfig>
Defined in: core/tool-call-router.ts:19
toolExecutor
toolExecutor:
ToolExecutor
Defined in: core/tool-call-router.ts:14
transcriptManager
transcriptManager:
TranscriptManager
Defined in: core/tool-call-router.ts:18
Methods
log()
log(
msg):void
Defined in: core/tool-call-router.ts:27
Diagnostic log.
Parameters
msg
string
Returns
void
reportError()
reportError(
component,error):void
Defined in: core/tool-call-router.ts:25
Report an error via hooks/logging.
Parameters
component
string
error
unknown
Returns
void
sendToolResult()
sendToolResult(
result):void
Defined in: core/tool-call-router.ts:21
Send a tool result back to the LLM transport.
Parameters
result
Returns
void
transfer()
transfer(
toAgent):Promise<void>
Defined in: core/tool-call-router.ts:23
Trigger an agent transfer.
Parameters
toAgent
string
Returns
Promise<void>