Does CloudFlare DNS (with CDN) support streamText of Vercel AI SDK?

Hello! I'm using CF CDN for my self-hosted vercel AI text streaming for AI completion. I noticed all my client request to an http LLM streaming api ended up with timeout error code 524. Does CF CDN support streaming text? Coming from this thread: https://github.com/vercel/ai/issues/633
GitHub
Stream Response does not work properly with Cloudflare DNS settings...
Description Issue In our production environment, the Stream Response doesn't seem to work as expected. Instead of streaming the response, it loads and immediately returns the full response. Int...
1 Reply
wildcat
wildcatOP2mo ago
never mind! it is a problem of kamal-proxy https://github.com/basecamp/kamal-proxy/issues/54
GitHub
Server-Sent Events is still being buffered if charset is set in Con...
If charset is set on Content-Type server-sent events will still be buffered. eg. content-type: text/event-stream; charset=utf-8 Looks like #36 is checking for exact match on "text/event-stream...
Want results from more Discord servers?
Add your server