Skip to content

Conversation

@ariane-emory
Copy link
Owner

DUMMY PR, IGNORE

Replace reconcile() with produce() for TextPart updates during streaming to prevent race conditions where text-end events overwrite accumulated text from text-delta events.

- Use produce() for incremental text updates instead of full object replacement
- Preserve streaming context and prevent mid-sentence truncation
- Maintain backward compatibility for non-text parts with fallback to reconcile()
- Fix race condition in sync.tsx that caused intermittent truncation
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.

2 participants