Skip to content

Commit ece64dc

Browse files
author
Theodore Li
committed
Pass expectedGen
1 parent f73be1a commit ece64dc

File tree

1 file changed

+1
-1
lines changed
  • apps/sim/app/workspace/[workspaceId]/home/hooks

1 file changed

+1
-1
lines changed

apps/sim/app/workspace/[workspaceId]/home/hooks/use-chat.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1067,7 +1067,7 @@ export function useChat(
10671067

10681068
if (!response.body) throw new Error('No response body')
10691069

1070-
await processSSEStream(response.body.getReader(), assistantId)
1070+
await processSSEStream(response.body.getReader(), assistantId, gen)
10711071
} catch (err) {
10721072
if (err instanceof Error && err.name === 'AbortError') return
10731073
setError(err instanceof Error ? err.message : 'Failed to send message')

0 commit comments

Comments
 (0)