From bd1a23b3adde62bb14f7e740e0f526c2b6f995be Mon Sep 17 00:00:00 2001 From: Zan Horvat Date: Tue, 9 Apr 2024 09:56:58 +0200 Subject: [PATCH] feat: add comment to tools --- src/hooks/use-chat.tsx | 1 + 1 file changed, 1 insertion(+) 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; }