@worktango/ai-assistant 0.0.48 → 0.0.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/react.d.ts +3 -6
package/package.json
CHANGED
package/react.d.ts
CHANGED
|
@@ -52,7 +52,7 @@ export type ChatHistory = Record<string, ChatHistoryItem[]>;
|
|
|
52
52
|
|
|
53
53
|
export type ChatSizes = "small" | "default" | "large" | "full";
|
|
54
54
|
|
|
55
|
-
type AiAssistantProps = {
|
|
55
|
+
export type AiAssistantProps = {
|
|
56
56
|
tools?: ToolDeclaration[];
|
|
57
57
|
enableDebug: boolean;
|
|
58
58
|
onClose: () => void;
|
|
@@ -61,13 +61,10 @@ type AiAssistantProps = {
|
|
|
61
61
|
hasChatHistory?: boolean;
|
|
62
62
|
chatHistory?: ChatHistory;
|
|
63
63
|
startingWidth?: ChatSizes;
|
|
64
|
+
tools?: ToolDeclaration[];
|
|
64
65
|
};
|
|
65
66
|
|
|
66
|
-
export function AiAssistant({
|
|
67
|
-
tools,
|
|
68
|
-
}: {
|
|
69
|
-
tools?: ToolDeclaration[];
|
|
70
|
-
}): JSX.Element;
|
|
67
|
+
export function AiAssistant({ tools }: AiAssistantProps): JSX.Element;
|
|
71
68
|
|
|
72
69
|
export const tools: {
|
|
73
70
|
kazooTools: {
|