-
Notifications
You must be signed in to change notification settings - Fork 103
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
🧐[问题]流式输出感觉很卡顿 #121
Comments
新版本已经优化过一版本了,现在应该很平滑?你是什么版本的呢? |
我也遇到同样问题,版本是 1.10.2,开发模式输出时会出现下面的警告信息:
警告定位到这一行代码
|
试试1.10.3? waring还在么? |
错误还在,发送按钮的 loading 动画也很卡顿 |
能在给点详细信息么? 我在 React 18、NextJs14下,浏览器的话 Edge 和 Chrome 都没有复现这个问题 |
这个错误我这边也会发生,不过卡顿程度来说倒还好。 同时Loading 自动听下来效果不间断失效,已确定服务端返回了 DONE消息。 |
不间断失效的问题在 1.11.0 版本中一并修复了,现在还会出现么 |
我再确认一下~
发自我的iPhone
…------------------ 原始邮件 ------------------
发件人: Shinji-Li ***@***.***>
发送时间: 2024年3月15日 17:50
收件人: ant-design/pro-chat ***@***.***>
抄送: 李国宝 ***@***.***>, Comment ***@***.***>
主题: Re: [ant-design/pro-chat] ��[问题]流式输出感觉很卡顿 (Issue #121)
同时Loading 自动听下来效果不间断失效,已确定服务端返回了 DONE消息。
不间断失效的问题在 1.11.0 版本中一并修复了,现在还会出现么
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
我测试了下,第一轮对话的时候是没问题的,但当对话的轮次多时就变卡了。 |
大概是5次左右对吧? |
使用1.11.0也遇到了,使用ReadableStream封装了流式返回,controller.enqueue多次控制台就会显示 |
升级到1.12.1依旧还是这个问题 |
1.15.1的版本 侧边栏模式,只要对话出现滚动条,SSE流式对话依旧会出现不稳定的跳动,可能是高度重置函数过于频繁导致,重置函数可以尝试节流。 |
您的邮件我已收到,感谢您的来信!
|
🧐 问题描述
流式输出ui展示感觉不是很流畅,感觉一卡一卡的。
💻 示例代码
🚑 其他信息
The text was updated successfully, but these errors were encountered: