Skip to content
providerkit
GitHub

MAX_SSE_FRAME_CHARS

const MAX_SSE_FRAME_CHARS: number;

Defined in: core/src/transport.ts:86

One frame larger than this is not a frame. Without a cap a malformed or runaway upstream grows the buffer until the runtime dies, starting with an MV3 worker. cc-proxy caps the ChatGPT backend at the same 8 MiB.