Skip to content

Conversation

@rbrandao
Copy link
Collaborator

Summary

Fixes multiple issues in SSE streaming and text parsing:

  • Preserves whitespace across SSE chunks
  • Aligns demo and NL endpoints parsing behavior
  • Repairs word-boundary issues in persisted assistant text

Scope

  • Streaming stability only
  • No feature or API surface changes

Notes

  • Focused bug-fix PR
  • Safe to merge independently

Rafael Brandão added 3 commits December 16, 2025 23:44
Unify newline/whitespace handling and persistence formatting so conversation reload matches streaming output; keep demo and production NL endpoints consistent.
…d assistant text

Prevents word-glue artifacts such as 'December15th' and 'inOctober' caused by
stream chunk boundaries and whitespace normalization.

- Adds Unicode-aware prose de-glue pass
- Preserves markdown structure and code blocks
- Keeps normalization deterministic and storage-safe
@rbrandao rbrandao added the bug Something isn't working label Dec 18, 2025
@mfmoreno mfmoreno closed this Dec 18, 2025
@mfmoreno mfmoreno reopened this Dec 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants