When I test the AI Gateway with stream: true, the response is not delivered in a real-time streaming
When I test the AI Gateway with stream: true, the response is not delivered in a real-time streaming fashion. Instead, the output only appears all at once after the upstream service finishes processing. In other words, even though I set "stream": true and use Accept: text/event-stream, the gateway buffers the response and returns it all at once instead of streaming it incrementally.
Here’s the sample code I used for testing:
Could you confirm if AI Gateway currently supports real-time streaming passthrough, or if it’s expected behavior that the response is buffered and only returned once the upstream completes?
Here’s the sample code I used for testing:
Could you confirm if AI Gateway currently supports real-time streaming passthrough, or if it’s expected behavior that the response is buffered and only returned once the upstream completes?



