Skip to content
This repository has been archived by the owner on Jan 22, 2024. It is now read-only.

[Bug]: bing api 发送请求,加上token参数,也无法连续对话 #3

Open
2 tasks done
huazirocket opened this issue Jun 1, 2023 · 5 comments
Open
2 tasks done

Comments

@huazirocket
Copy link

在提交前请确保以下这些

  • ChatGPT,EdgeGPT,BingImageCreator,GoogleBard,easy-ernie为最新版本
  • 在Issue无法找到它

操作系统

Windows

Python版本

3.11

问题

bing api 发送请求,加上token参数,也无法连续对话

触发

bing api 发送请求,加上token参数,也无法连续对话

报错

No response

其他

No response

@XiaoXinYo
Copy link
Owner

7d2131ae9905dce0bcfb216a9a257ff 43a87a950416f502d5b9d996c246492 我这里正常

@Mouse-Bill
Copy link

Mouse-Bill commented Jun 3, 2023

遇到了同样的问题,排查下来好像是gunicorn导致getChatBot里面的全局变量CHAT_BOT没更新,直接运行main.py可以解决

@XiaoXinYo
Copy link
Owner

遇到了同样的问题,排查下来好像是gunicorn导致getChatBot里面的全局变量CHAT_BOT没更新,直接运行main.py可以解决

你有解决gunicorn的方法吗?

@Mouse-Bill
Copy link

Mouse-Bill commented Jun 3, 2023

遇到了同样的问题,排查下来好像是gunicorn导致getChatBot里面的全局变量CHAT_BOT没更新,直接运行main.py可以解决

你有解决gunicorn的方法吗?

暂时没有,但感觉应该是gunicorn多线程同步的问题

@XiaoXinYo
Copy link
Owner

XiaoXinYo commented Jun 3, 2023 via email

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

No branches or pull requests

3 participants