diff --git a/src/hooks/use-chat.tsx b/src/hooks/use-chat.tsx index 2864231..c7c5b0a 100644 --- a/src/hooks/use-chat.tsx +++ b/src/hooks/use-chat.tsx @@ -18,6 +18,7 @@ interface UseChatParams { onSuccess?: (messages: ChatCompletionMessageOrReactElement[]) => void; // Called when an error occurs while streaming onError?: (error: Error) => void; + // Tools to integrate custom fucntions tools?: Tools; }