Skip to content

Commit

Permalink
feat: add comment to tools
Browse files Browse the repository at this point in the history
  • Loading branch information
horvatz committed Apr 9, 2024
1 parent 0dbf75c commit bd1a23b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/hooks/use-chat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ interface UseChatParams<V extends ValidatorsObject = {}> {
onSuccess?: (messages: ChatCompletionMessageOrReactElement[]) => void;
// Called when an error occurs while streaming
onError?: (error: Error) => void;
// Tools to integrate custom fucntions
tools?: Tools<V>;
}

Expand Down

0 comments on commit bd1a23b

Please sign in to comment.