chatpire / chatgpt-web-share

ChatGPT Plus 共享方案。ChatGPT Plus / OpenAI API sharing solution.
https://cws-docs.pages.dev/zh/
GNU General Public License v3.0
4.29k stars 679 forks source link

出现”未知错误 string indices must be integers“ #364

Closed aprpure closed 9 months ago

aprpure commented 9 months ago

Version v0.4.6

What's your deploying method?

Describe the bug 更新最新版本以后,使用ChatGPT3.5的时候,出现”未知错误 string indices must be integers“。然后刷新又能够显示提问和回答内容。

Screenshots or running logs image image

Additional context 日志: 2024/02/04 01:59:12.687 INFO: [uvicorn.error] connection open 2024/02/04 01:59:12.692 INFO: [cws.api.routers.chat] admin connected to websocket 2024/02/04 01:59:14.242 ERROR: [cws.api.routers.chat] string indices must be integers 2024/02/04 01:59:14.358 INFO: [uvicorn.error] connection closed

HiderX commented 9 months ago

我也遇到了这个问题

ljq29 commented 9 months ago

同样遇到这个问题

gitwbe commented 9 months ago

你的docker-compose.yml配置是什么呢

xuexiaigc commented 9 months ago

同样遇到这个问题,怎么解?

cat docker-compose.yml

version: "3"

services: chatgpt-web-share: image: ghcr.io/chatpire/chatgpt-web-share:latest container_name: cws restart: unless-stopped ports:

JQJoe commented 9 months ago

遇到同样的问题

xuexiaigc commented 9 months ago

换成 image: ghcr.io/chatpire/chatgpt-web-share:0.4.5,就不会报错了😅

DponXiaodong commented 9 months ago

ninja版本要回滚吗,cws改完后ninja拉不起来了

换成 image: ghcr.io/chatpire/chatgpt-web-share:0.4.5,就不会报错了😅

moeakwak commented 9 months ago

Fixed in v0.4.7