mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-07-31 04:12:10 +03:00
formatSSE() in streamHelpers.ts explicitly returned 'data: null' for null/undefined data. This violates SSE protocol and causes AI_TypeValidationError in strict clients (Zod-based AI SDKs). Now returns empty string, silently skipping null chunks.