Skip to content

Commit

Permalink
Revert "fix (ai/react): add missing fetch parameter to useChat"
Browse files Browse the repository at this point in the history
This reverts commit 953927d.
  • Loading branch information
lgrammel committed Jul 1, 2024
1 parent 953927d commit 9e347dd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
5 changes: 0 additions & 5 deletions .changeset/bright-adults-drop.md

This file was deleted.

2 changes: 0 additions & 2 deletions packages/react/src/use-chat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,6 @@ export function useChat({
headers,
body,
generateId = generateIdFunc,
fetch,
}: UseChatOptions & {
key?: string;

Expand Down Expand Up @@ -406,7 +405,6 @@ By default, it's set to 0, which will disable the feature.
messagesRef,
abortControllerRef,
generateId,
fetch,
],
);

Expand Down

0 comments on commit 9e347dd

Please sign in to comment.