Interface: KabooInterruptHandlerProps¶
Defined in: src/integrations/KabooInterruptHandler.tsx:261
Props for KabooInterruptHandler.
Properties¶
agentId?¶
optionalagentId?:string
Defined in: src/integrations/KabooInterruptHandler.tsx:263
Restrict handling to a single CopilotKit agent (optional).
onInterruptError?¶
optionalonInterruptError?: (message) =>void
Defined in: src/integrations/KabooInterruptHandler.tsx:272
Called with the reason when an answer never reached the agent (the host refused it, or it couldn't be sent). The requests come back to be answered again either way; use this to show the reason elsewhere too, such as a toast.
Parameters¶
message¶
string
Returns¶
void
renderers?¶
optionalrenderers?:InterruptRenderers
Defined in: src/integrations/KabooInterruptHandler.tsx:265
Renderer overrides keyed by request kind (approval, or an app's own).