大佬救我Exception ignored in thread started by: <function protocol at 0x00000236692754C0>
Traceback (most recent call last):
File "D:\QQbot\overflow-2.16.0-2d54df9-SNAPSHOT\OpenAI_Chat3.5-python-server-main\net.py", line 259, in protocol
type_chat(server, index)
File "D:\QQbot\overflow-2.16.0-2d54df9-SNAPSHOT\OpenAI_Chat3.5-python-server-main\net.py", line 112, in type_chat
send_string(server, system.AI_list[index].chat(question)) # 需判断error
File "D:\QQbot\overflow-2.16.0-2d54df9-SNAPSHOT\OpenAI_Chat3.5-python-server-main\AI.py", line 181, in chat
message = self.speak()
File "D:\QQbot\overflow-2.16.0-2d54df9-SNAPSHOT\OpenAI_Chat3.5-python-server-main\AI.py", line 158, in speak
except openai.error.RateLimitError as e: # 需要单独判断是否触发api速度限制
AttributeError: module 'openai' has no attribute 'error'
1
1840377550 发布的最新帖子
-
RE: 基于GPT3.5的猫娘插件(可以指定群友变猫娘!)03/22更新