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

Web 端使用最新版的 Chrome 浏览器 117.0.5938.88 无法使用聊天、数字人 #36

Closed
mylxsw opened this issue Sep 19, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@mylxsw
Copy link
Owner

mylxsw commented Sep 19, 2023

使用最新版的 Chrome 浏览器(版本 117.0.5938.88)访问,聊天和数字人报错

image
Expected a value of type 'Iterator', but got one of type 'DomIterator'

或者

image
NoSuchMethodError: method not found: 'MA' Receiver: Instance of 'Headers Iterator' Arguments: []
@mylxsw mylxsw added the bug Something isn't working label Sep 19, 2023
@xixingya
Copy link

移动端web也有类似问题,但是我打包web的方式改成makefile中的flutter build web --web-renderer canvaskit --release 这个后,就没问题了

@xixingya
Copy link

实测,118版本的chrome在这个打包方式下也没问题

mylxsw added a commit that referenced this issue Oct 29, 2023
1. 服务端地址通过环境变量配置,编译时可以指定环境变量来为不同环境打包
2. 支付宝支付支持沙箱环境
3. 增加群聊功能,现在可以把多个大模型拉到一个群里,同时向它们进行提问了
4. 聊一聊页面的历史就来移动到单独的页面,首页只展示最近 3 条
5. 聊天记录支持以图片的形式进行分享
6. 聊天协议由 OpenAI 兼容的 SSE 转换为了 WebSocket,解决最新版 Chrome 浏览器无法使用问题 #36
7. 智慧果使用明细增加日维度的使用记录
8. 其它 Bugfix,如 #37
@mylxsw
Copy link
Owner Author

mylxsw commented Oct 29, 2023

最新版本1.0.7已修复该问题,使用 WebSocket 代替 SSE 协议

注意:服务端需要同时升级到最新版本。

@mylxsw mylxsw closed this as completed Oct 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants