deanxv / coze-discord-proxy

代理Discord对话Coze-Bot,实现以API形式请求GPT4模型,提供对话、文生图、图生文、知识库检索等功能。
GNU General Public License v3.0
3.61k stars 1.05k forks source link

频道中的机器人突然没有提示问题了 #186

Closed fitzhang closed 4 months ago

fitzhang commented 4 months ago

平常在频道对话的过程中,每次回答完毕以后,机器人都带了三个的问题扩展提示的,但是今天中午的时候机器人突然没有提示了,进去coze里面排查以下机器人,里面的机器人也是有提示的,问题是没有了这个提示以后,response = requests.post(url, headers=headers, json=data, timeout=timeout) response一直无法获取完整的信息,系统默认没有提示即为问题没有回复完毕,一直再等待无法结束。请deanxv大神看看有什么办法解决。谢谢! 没有提示问题

fitzhang commented 4 months ago
response = requests.post(url, headers=headers, json=data, timeout=timeout)
response.raise_for_status()
response_json = response.json()
content = response_json['choices'][0]['message']['content']
return response_json
程序一直等待回复超时报错

![Uploading 没有提示问题2.png…]()

fitzhang commented 4 months ago

没有提示问题2

deanxv commented 4 months ago

一个discord用户一天只能生成100次suggestion

fitzhang commented 4 months ago

那么有没有办法可以解决程序一直在等待服务器的问题,服务器没有返回response,一直在等待,求救

deanxv commented 4 months ago

那么有没有办法可以解决程序一直在等待服务器的问题,服务器没有返回response,一直在等待,求救

用另外的discord账号,或参考文档中的多用户配置。