This repository has been archived by the owner on Jan 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
[Bug]: bing api 发送请求,加上token参数,也无法连续对话 #3
Comments
遇到了同样的问题,排查下来好像是gunicorn导致getChatBot里面的全局变量CHAT_BOT没更新,直接运行main.py可以解决 |
你有解决gunicorn的方法吗? |
暂时没有,但感觉应该是gunicorn多线程同步的问题 |
把workers设置为1,应该可以
发自我的iPhone
…------------------ 原始邮件 ------------------
发件人: Mouse-Bill ***@***.***>
发送时间: 2023年6月3日 17:55
收件人: XiaoXinYo/Chat-API ***@***.***>
抄送: XiaoXinYo ***@***.***>, Comment ***@***.***>
主题: Re: [XiaoXinYo/Chat-API] [Bug]: bing api 发送请求,加上token参数,也无法连续对话 (Issue #3)
遇到了同样的问题,排查下来好像是gunicorn导致getChatBot里面的全局变量CHAT_BOT没更新,直接运行main.py可以解决
你有解决gunicorn的方法吗?
暂时没有,但感觉应该是gunicorn多线程同步的问题
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
在提交前请确保以下这些
操作系统
Windows
Python版本
3.11
问题
bing api 发送请求,加上token参数,也无法连续对话
触发
bing api 发送请求,加上token参数,也无法连续对话
报错
No response
其他
No response
The text was updated successfully, but these errors were encountered: