[Bug]4.1.0版本的服务提供商无缘无故报错,但能正常使用
发生了什么
如何复现?
如上所述
AstrBot 版本、部署方式(如 Windows Docker Desktop 部署)、使用的提供商、使用的消息平台适配器
AstrBot 版本:4.1.0 部署方式:Windows 使用的提供商:gemini-2.5-pro 使用的消息平台适配器:aiocqhttp
操作系统
Windows
报错日志
[15:22:47] [Core] [INFO] [aiocqhttp.aiocqhttp_platform_adapter:81]: aiocqhttp(OneBot v11) 适配器已连接。
[15:23:00] [Core] [INFO] [core.event_bus:52]: [default] [昵称(aiocqhttp)] 昵称/QQ号: [图片]
[15:23:00] [Core] [INFO] [core.curfew_manager:193]: 未找到宵禁数据文件,跳过加载。
[15:23:00] [Core] [ERRO] [sources.openai_source:345]: 发生了错误。Provider 配置如下: {'id': 'Gemini-2.5-Pro', 'provider': 'google', 'type': 'openai_chat_completion', 'provider_type': 'chat_completion', 'enable': True, 'key': ['key马赛克'], 'api_base': '链接马赛克/v1', 'timeout': 120, 'model_config': {'model': 'gemini-2.5-pro', 'temperature': 0.4}, 'modalities': ['text', 'image', 'tool_use'], 'hint': '也兼容所有与 OpenAI API 兼容的服务。', 'custom_extra_body': {}}
[15:23:38] [Core] [INFO] [core.event_bus:52]: [default] [昵称(aiocqhttp)] 昵称/QQ号: [At:QQ号] 这个呢
[15:23:42] [Core] [WARN] [astrbot_plugin_context_enhancer.main:871]: 持有 nonce 但在缓冲区中未找到匹配的触发消息。仍判定为'被动回复'场景。
[15:23:43] [Core] [INFO] [astrbot_plugin_livingmemory.main:179]: [40fa9f01-74c5-4243-b8ed-9733d2ed66e9] 成功向 System Prompt 注入 2 条记忆。
[15:23:59] [Core] [INFO] [respond.stage:212]: AstrBot ->昵称/QQ号: 干嘛呀你
你愿意提交 PR 吗?
- [ ] 是的,我愿意提交 PR!
Code of Conduct
- [x] 我已阅读并同意遵守该项目的 行为准则。
4.1.1 已经修复。