| 11 | import { useT } from "@/lib/i18n-client"; |
| 12 | |
| 13 | export interface ToolCallVizData { |
| 14 | id: string; |
| 15 | name: string; |
| 16 | args: Record<string, unknown>; |
| 17 | result?: { |
| 18 | ok: boolean; |
| 19 | data?: unknown; |
| 20 | error?: string; |
| 21 | duration_ms: number; |
| 22 | }; |
| 23 | synthetic?: boolean; |
| 24 | } |
| 25 | |
| 26 | function kbApiBase(): string { |
| 27 | if (typeof window !== "undefined") { |
nothing calls this directly
no outgoing calls
no test coverage detected