Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Pass expectedGen
  • Loading branch information
Theodore Li committed Mar 17, 2026
commit ece64dcc08baf45ea9d23ef774ad5245d9e543a9
Original file line number Diff line number Diff line change
Expand Up @@ -1067,7 +1067,7 @@ export function useChat(

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

await processSSEStream(response.body.getReader(), assistantId)
await processSSEStream(response.body.getReader(), assistantId, gen)
} catch (err) {
if (err instanceof Error && err.name === 'AbortError') return
setError(err instanceof Error ? err.message : 'Failed to send message')
Expand Down
Loading