Closed testniubi1 closed 11 months ago
折腾了很久,发现 from plugins.ChatPoeBot.pkg.poe_bots_list import PoeBots
Sage = 'capybara' GPT4 = 'beaver' Claude = 'a2_2' ClaudeInstant = 'a2' ChatGPT = 'chinchilla' Dragonfly = 'nutria' poe_config = { 'default_bot_type': PoeBots.ChatGPT, 'proxy': '', # 'http://127.0.0.1:7890/', ##不填http://127.0.0.1:7890/既可 'tokens': ['tktdxwQmam7eajR0k3OR8g%3D%3E'], # 填入获取到的token 'prefix': True # 启用前缀POE }
这是我的config from plugins.ChatPoeBot.pkg.poe_bots_list import PoeBots
Sage = 'capybara' GPT4 = 'beaver' Claude = 'a2_2' ClaudeInstant = 'a2' ChatGPT = 'chinchilla' Dragonfly = 'nutria' poe_config = { 'default_bot_type': PoeBots.ChatGPT, 'proxy': 'http://127.0.0.1:7890/', # 'http://127.0.0.1:7890/', 'tokens': ['tktdxwQmam7eajR0k3OR8g%3D%3E'], # 填入获取到的token 'prefix': True # 启用前缀POE }
这是我加载本项目后,启动主程序的记录 PS C:\Users\Administrator> cd C:\Users\Administrator\Desktop\bot3\QChatGPT PS C:\Users\Administrator\Desktop\bot3\QChatGPT> python main.py [2023-06-15 03:03:35.382] main.py (73) - [INFO] : 检查config模块完整性. [2023-06-15 03:03:35.398] main.py (81) - [WARNING] : [auto_reset]不存在 [2023-06-15 03:03:35.398] main.py (81) - [WARNING] : [force_delay_range]不存在 [2023-06-15 03:03:35.398] main.py (85) - [WARNING] : 配置文件不完整,您可以依据config-template.py检查config.py [2023-06-15 03:03:35.398] main.py (91) - [WARNING] : 以上不存在的配置已被设为默认值,将在3秒后继续启动... [2023-06-15 03:03:38.402] main.py (101) - [INFO] : 检查tips模块完整性. [2023-06-15 03:03:38.402] main.py (107) - [WARNING] : [session_auto_reset_message]不存在 [2023-06-15 03:03:38.402] main.py (111) - [WARNING] : tips模块不完整,您可以依据tips-custom-template.py检查tips.py [2023-06-15 03:03:38.402] main.py (112) - [WARNING] : 以上配置已被设为默认值,将在3秒后继续启动... [2023-06-15 03:03:50.299] keymgr.py (61) - [INFO] : 使用api-key:default [2023-06-15 03:03:50.314] manager.py (30) - [INFO] : 文字总使用量:833086 [2023-06-15 03:03:50.314] session.py (67) - [INFO] : 加载session: person_1874693190 [2023-06-15 03:03:50.314] session.py (67) - [INFO] : 加载session: group_831971097 [2023-06-15 03:03:50.314] session.py (67) - [INFO] : 加载session: person_1833667137 [2023-06-15 03:03:50.314] session.py (67) - [INFO] : 加载session: group_600568014 [2023-06-15 03:03:50.330] session.py (67) - [INFO] : 加载session: person_867571621 [2023-06-15 03:03:50.330] session.py (67) - [INFO] : 加载session: person_2477297870 [2023-06-15 03:03:50.330] session.py (67) - [INFO] : 加载session: person_2199844357 [2023-06-15 03:03:50.330] session.py (67) - [INFO] : 加载session: person_421594199 [2023-06-15 03:03:50.330] manager.py (121) - [INFO] : Use adapter:nakuru [2023-06-15 03:03:50.473] manager.py (246) - [INFO] : 加载禁用列表: person: [2854196310], group: [204785790, 614876491] [2023-06-15 03:03:50.473] host.py (91) - [INFO] : 加载插件 [2023-06-15 03:03:50.614] models.py (219) - [INFO] : 插件注册完成: n='BanMassage', d='屏蔽插件,若匹配到关键词则屏蔽,不回复', v=0.1, a='多米诺艾尔' (<class 'plugins.BanMassage.main.HelloPlugin'>) [2023-06-15 03:04:10.737] main.py (287) - [CRITICAL] : 程序启动完成,如长时间未显示 "Protocol: connected" ,并且不回复消息,请检查config.py中的nakuru_config是否正确
我再输入!reload后,显示 [2023-06-15 03:20:10.825] host.py (118) - [ERROR] : 插件ChatPoeBot初始化时发生错误: (<class 'tls_client.exceptions.TLSClientExeption'>, TLSClientExeption('failed to do request: Get "https://poe.com/": dial tcp 127.0.0.1:7890: connectex: No connection could be made because the target machine actively refused it.'), <traceback object at 0x000002D36C986400>)