Skip to content

Commit

Permalink
Merge pull request #6 from zerodays/feat/add-comment
Browse files Browse the repository at this point in the history
feat: add comment to tools
  • Loading branch information
horvatz authored Apr 9, 2024
2 parents 0dbf75c + bd1a23b commit 37670e3
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 37670e3

Please sign in to comment.