lukaszraczylo c0f31a3bc0 fix(openai): case-insensitive content-type gate
Content-Type header values are case-insensitive per RFC 7231, but
chatCompletion's streaming-vs-JSON-fallback gate used a plain
strings.Contains against "text/event-stream", so an upstream that
sent "Text/Event-Stream" or similar would silently fall through to
the non-streaming passthrough path. Carried item (a) from Task 9's
brief.
2026-08-20 03:36:34 +01:00
S
Description
No description provided
MIT
16 MiB
Languages
Go 84.8%
TypeScript 11.4%
Vue 3.1%
CSS 0.2%
JavaScript 0.2%
Other 0.2%