Skip to content

@pgege/kaboo-react


Function: KabooChat()

KabooChat(props): Element

Defined in: src/integrations/KabooChat.tsx:43

The chat panel: <CopilotChat> with kaboo's transcript, plus the drill-down tabs and detail view for sub-agents. Its composer sends through useKabooSend, so a new message skips any open request. Place it anywhere under KabooProvider, which can sit at the route so canvases beside the chat share the agent.

Parameters

props

KabooChatProps

Returns

Element

Example

import { KabooProvider } from "@pgege/kaboo-react";
import { KabooChat } from "@pgege/kaboo-react/copilotkit";

export function Page({ threadId }: { threadId: string }) {
  return (
    <KabooProvider runtimeUrl="/api/copilotkit" agent="kaboo" threadId={threadId}>
      <KabooChat />
    </KabooProvider>
  );
}