We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f73be1a commit ece64dcCopy full SHA for ece64dc
apps/sim/app/workspace/[workspaceId]/home/hooks/use-chat.ts
@@ -1067,7 +1067,7 @@ export function useChat(
1067
1068
if (!response.body) throw new Error('No response body')
1069
1070
- await processSSEStream(response.body.getReader(), assistantId)
+ await processSSEStream(response.body.getReader(), assistantId, gen)
1071
} catch (err) {
1072
if (err instanceof Error && err.name === 'AbortError') return
1073
setError(err instanceof Error ? err.message : 'Failed to send message')
0 commit comments