ai
ai copied to clipboard
Serverless stream exception
Description
I have no problem running and deploying to the server locally. When I used Tencent Cloud serverless, I found that the flow was abnormal, and all the text responded at the same time.
Code example
return new StreamingTextResponse(stream, { headers: { ...ResponseHeaders } }, data);
Additional context
No response
Having the text returned at the same time might indicate a lack of support for streaming on the provider side (Tencent). Does Tencent Cloud serverless support streaming? When you e.g. deploy your example to Vercel, does streaming work there?