Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serverless stream exception #960

Closed
zandko opened this issue Feb 5, 2024 · 1 comment
Closed

Serverless stream exception #960

zandko opened this issue Feb 5, 2024 · 1 comment

Comments

@zandko
Copy link

zandko commented Feb 5, 2024

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

@lgrammel
Copy link
Collaborator

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants