Skip to content

@pgege/kaboo-react


Interface: KabooInterruptHandlerProps

Defined in: src/integrations/KabooInterruptHandler.tsx:261

Props for KabooInterruptHandler.

Properties

agentId?

optional agentId?: string

Defined in: src/integrations/KabooInterruptHandler.tsx:263

Restrict handling to a single CopilotKit agent (optional).


onInterruptError?

optional onInterruptError?: (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?

optional renderers?: InterruptRenderers

Defined in: src/integrations/KabooInterruptHandler.tsx:265

Renderer overrides keyed by request kind (approval, or an app's own).