Skip to content

VAP-9999 Fix cutoff error#17

Merged
arvindrk merged 1 commit intomainfrom
arvind/fix-cutoff-error
Aug 20, 2025
Merged

VAP-9999 Fix cutoff error#17
arvindrk merged 1 commit intomainfrom
arvind/fix-cutoff-error

Conversation

@arvindrk
Copy link
Contributor

Race condition that was randomly cutting off assistant messages. Basically, we were checking if assistantMessageIndexRef.current wasn't null, but then reading it again inside an async React state callback. Between those two moments, the stream could complete and set it to null.

image

@arvindrk arvindrk merged commit 178a06a into main Aug 20, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant