Commit Graph

3 Commits

Author SHA1 Message Date
2dec5592c9 fix: SSE streaming review fixes round 2 2026-03-01 10:54:02 +01:00
781cedade5 fix: SSE streaming review fixes
- Fix OpenAI path using accumulatedText instead of round-specific text
  in assistant messages for multi-round tool conversations
- Guard JSON.parse in both SSE parsers against corrupted events
- Extract cacheReadTokens from OpenAI prompt_tokens_details when available
- Add tests for JSON parse resilience and cache token extraction (7 new tests)
2026-03-01 10:25:54 +01:00
78c2cb7bb7 feat: SSE streaming for chat providers 2026-03-01 10:10:54 +01:00