mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-02 21:32:10 +03:00
Passthrough mode now detects Responses SSE payloads (parsed.type starts with 'response.') and skips Chat Completions-specific sanitization: - sanitizeStreamingChunk() only runs on Chat Completions payloads - fixInvalidId() and hasValuableContent() checks skipped for Responses - Usage extraction still runs for both formats - Content length tracking adapted for Responses delta format This prevents potential stream corruption when Responses SSE data triggers idFixed or other Chat Completions-specific rewrite conditions.