实际情况是:
Traceback (most recent call last):
File "/root/QChatGPT/plugins/revLibs/pkg/process/procmsg.py", line 39, in process_message
for section in session.get_reply(prompt):
File "/root/QChatGPT/plugins/revLibs/pkg/process/revss.py", line 91, in get_reply
for reply_period_msg, reply_period_dict in self.rev_interface_impl.get_reply(prompt, **kwargs):
File "/root/QChatGPT/plugins/revLibs/pkg/process/impls/edgegpt.py", line 51, in get_reply
resp = asyncio.run(task)
File "/root/miniconda3/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/root/miniconda3/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
return future.result()
File "/root/miniconda3/lib/python3.10/site-packages/EdgeGPT.py", line 337, in ask
async for final, response in self.chat_hub.ask_stream(
File "/root/miniconda3/lib/python3.10/site-packages/EdgeGPT.py", line 277, in ask_stream
self.request.update(prompt=prompt, conversation_style=conversation_style)
File "/root/miniconda3/lib/python3.10/site-packages/EdgeGPT.py", line 148, in update
conversation_style = getattr(ConversationStyle, conversation_style)
File "/root/miniconda3/lib/python3.10/enum.py", line 437, in getattr
raise AttributeError(name) from None
AttributeError: h3imaginative
但只需要把revcfg.py中的new_bing_style = "h3imaginative"注释掉就能够正常运行
py3.9 py3.10都试了一遍 重装也解决不了 三个模式都是如此
请您认真填写以下信息。
任务
预期/正在使用的逆向库
我要使用的逆向库是:New Bing
实际情况
实际情况是: Traceback (most recent call last): File "/root/QChatGPT/plugins/revLibs/pkg/process/procmsg.py", line 39, in process_message for section in session.get_reply(prompt): File "/root/QChatGPT/plugins/revLibs/pkg/process/revss.py", line 91, in get_reply for reply_period_msg, reply_period_dict in self.rev_interface_impl.get_reply(prompt, **kwargs): File "/root/QChatGPT/plugins/revLibs/pkg/process/impls/edgegpt.py", line 51, in get_reply resp = asyncio.run(task) File "/root/miniconda3/lib/python3.10/asyncio/runners.py", line 44, in run return loop.run_until_complete(main) File "/root/miniconda3/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete return future.result() File "/root/miniconda3/lib/python3.10/site-packages/EdgeGPT.py", line 337, in ask async for final, response in self.chat_hub.ask_stream( File "/root/miniconda3/lib/python3.10/site-packages/EdgeGPT.py", line 277, in ask_stream self.request.update(prompt=prompt, conversation_style=conversation_style) File "/root/miniconda3/lib/python3.10/site-packages/EdgeGPT.py", line 148, in update conversation_style = getattr(ConversationStyle, conversation_style) File "/root/miniconda3/lib/python3.10/enum.py", line 437, in getattr raise AttributeError(name) from None AttributeError: h3imaginative 但只需要把revcfg.py中的new_bing_style = "h3imaginative"注释掉就能够正常运行 py3.9 py3.10都试了一遍 重装也解决不了 三个模式都是如此