-
Notifications
You must be signed in to change notification settings - Fork 91
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
🧐[问题] flask做流式服务端,ProChat无法递进式接收chunk #248
Comments
貌似我遇到这个问题了, 是否可以弄一个千问流式返回,完整的例子。 |
@allendata0706 帮忙提供下使用的 qwen 文档。 |
我的问题是在umi中开启来代理所导致,按照umi文档说明,设置一下环境变量解决。 |
//package.json{ |
检查 http sse 响应头有没有 Content-Encoding:gzip 类似的值,要把这个响应头删除 。 |
🧐 问题描述
按照 这里 的方法做了一个flask的server,发送sse消息,但是pro-chat无法递进式的接收数据。总是等到消息全部结束了以后才能收到。不知是否是flask的设置有问题。如果可以能否提供一个完整的flask端example+pro-chat客户端例子
💻 示例代码
服务器端代码与这里 基本一致,prochat端代码如下
🚑 其他信息
The text was updated successfully, but these errors were encountered: