CLIProxyAPI
CLIProxyAPI copied to clipboard
Streaming fails for "preview" and "thinking" models (response is buffered)
Describe the bug
When making requests with stream: true, specific newer/preview models do not return Server-Sent Events (SSE) chunks incrementally. Instead, the server "hangs" until the entire generation is complete, and then sends the full response payload at once.
This behavior defeats the purpose of streaming, resulting in a very high Time to First Token (TTFT) for the client.
Affected Models
gemini-3-pro-previewgemini-claude-opus-4-5-thinking
gemini-claude-opus-4-5-thinking fixed but gemini-3-pro-preview not Streaming @luispater
@RezaRashidi Created a PR to address this!