-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Description
What happened / 发生了什么
Astrbot+LLOneBot+QQ,正确配置执行器阿里云百炼Agent(测试发送文字消息功能正常)以及默认图片转述模型(模型测试通过,具有视觉功能),执行器选择“内置Agent”测试,可正常识别图片文字并结合文字消息回复;修改为“阿里云百炼应用”后无图片转述过程。
仪表盘有提示“当使用非内置 Agent 执行器时,默认对话模型和默认图片转述模型可能会无效,但某些插件会依赖此配置项来调用 AI 能力”,当前是否有解决方案?
Reproduce / 如何复现?
1.配置阿里云百炼Agent
2.配置LLM
3.配置默认图片转述模型
测试:
- 发送QQ图片消息,返回日志“阿里云百炼暂不支持图片输入……”
- 切换执行器为内置Agent,发送同样QQ图片消息,正确识别图片文字并根据文字回复消息
AstrBot version, deployment method (e.g., Windows Docker Desktop deployment), provider used, and messaging platform used. / AstrBot 版本、部署方式(如 Windows Docker Desktop 部署)、使用的提供商、使用的消息平台适配器
astrbot v4.19.2,aiohttp,通过llbotUI操作自动部署
执行器阿里云百炼Agent
默认图片转述模型moonshot/moonshot-v1-32k-vision-preview,
OS
Windows
Logs / 报错日志
启动日志:
[22:21:17.934] [Core] [INFO] [astrbot.runtime_bootstrap:41]: Bootstrapping runtime CA bundle.
[22:21:17.985] [Core] [INFO] [astrbot.runtime_bootstrap:33]: Configured aiohttp verified SSL context with system+certifi trust chain.
[22:21:21.064] [Core] [INFO] [provider.func_tool_manager:728]: 检测到 MCP 初始化超时与动态启用超时配置不同:初始化使用 20 秒,动态启用使用 30 秒。如需一致,请设置相同值。
[22:21:21.076] [Core] [DBUG] [agent.tool_image_cache:55]: ToolImageCache initialized, cache dir: D:\aibot\组件\LLBot-Desktop-win-x64\bin\astrbot\data\temp\tool_images
[22:21:21.229] [Core] [DBUG] [faiss.loader:96]: Environment variable FAISS_OPT_LEVEL is not set, so let's pick the instruction set according to the current CPU
[22:21:21.230] [Core] [INFO] [faiss.loader:132]: Loading faiss with AVX2 support.
[22:21:21.254] [Core] [INFO] [faiss.loader:134]: Successfully loaded faiss with AVX2 support.
[22:21:21.828] [Core] [DBUG] [platform.register:60]: 平台适配器 aiocqhttp 已注册
[22:21:21.859] [Core] [DBUG] [platform.register:60]: 平台适配器 wecom_ai_bot 已注册
[22:21:21.864] [Core] [DBUG] [platform.register:60]: 平台适配器 webchat 已注册
[22:21:22.014] [Core] [INFO] [astrbot.main:83]: WebUI 版本已是最新。
[22:21:22.015] [Core] [INFO] [astrbot.main:126]:
___ _... . ______ .___________.
/ \ / | || _ \ | _ \ / __ \ | |
/ ^ \ | (-------| |----| |) | | |) | | | | | ---| |----
/ /\ \ \ \ | | | / | _ < | | | | | |
/ _____ \ .----) | | | | |\ ----.| |) | | --' | | | /__/ \__\ |_______/ |__| | _| .||/ ____/ ||
[22:21:22.016] [Core] [DBUG] [core.core_lifecycle:80]: HTTP proxy cleared
[22:21:22.017] [Core] [INFO] [core.core_lifecycle:106]: AstrBot v4.19.2
[22:21:22.131] [Core] [INFO] [core.persona_mgr:38]: 已加载 0 个人格。
[22:21:22.143] [Core] [INFO] [star.star_manager:617]: 正在载入插件 astrbot_plugin_debounce ...
PyTorch was not found. Models won't be available and only tokenizers, configuration and file/data utilities can be used.
[22:21:25.306] [Core] [INFO] [star.star_manager:701]: Plugin astrbot_plugin_debounce (1.1.1) by Jason.Joestar: 消息防抖 插件 - 使用微调过的模型判断用户是否说完一句话,合并连续发送的多条消息再提交,避免频繁调用 LLM
[22:21:26.049] [Core] [INFO] [star.star_manager:617]: 正在载入插件 astrbot ...
[22:21:26.053] [Core] [INFO] [star.star_manager:701]: Plugin astrbot (4.1.0) by Soulter: AstrBot 自带插件,包含人格注入 、思考内容注入、群聊上下文感知等功能的实现,禁用后将无法使用这些功能。
[22:21:26.054] [Core] [INFO] [star.star_manager:617]: 正在载入插件 builtin_commands ...
[22:21:26.068] [Core] [INFO] [star.star_manager:701]: Plugin builtin_commands (0.0.1) by Soulter: AstrBot 自带指令,提供常用的对话管理、工具使用、插件管理等功能。
[22:21:26.068] [Core] [INFO] [star.star_manager:617]: 正在载入插件 session_controller ...
[22:21:26.073] [Core] [INFO] [star.star_manager:701]: Plugin session_controller (v1.0.1) by Cvandia & Soulter: 为插件支 持会话控制
[22:21:26.074] [Core] [INFO] [star.star_manager:617]: 正在载入插件 web_searcher ...
[22:21:26.205] [Core] [INFO] [provider.func_tool_manager:304]: 添加函数调用工具: web_search
[22:21:26.213] [Core] [INFO] [provider.func_tool_manager:304]: 添加函数调用工具: fetch_url
[22:21:26.223] [Core] [INFO] [provider.func_tool_manager:304]: 添加函数调用工具: web_search_tavily
[22:21:26.233] [Core] [INFO] [provider.func_tool_manager:304]: 添加函数调用工具: tavily_extract_web_page
[22:21:26.245] [Core] [INFO] [provider.func_tool_manager:304]: 添加函数调用工具: web_search_bocha
[22:21:26.247] [Core] [INFO] [star.star_manager:701]: Plugin astrbot-web-searcher (1.14.514) by Soulter: 让 LLM 具有网页检索能力
[22:21:26.253] [Core] [INFO] [provider.manager:533]: 载入 openai_chat_completion(moonshot) 服务提供商 ...
[22:21:26.734] [Core] [INFO] [provider.manager:533]: 载入 openai_chat_completion(moonshot/moonshot-v1-32k-vision-preview) 服务提供商 ...
[22:21:26.769] [Core] [INFO] [knowledge_base.kb_mgr:40]: 正在初始化知识库模块...
[22:21:26.787] [Core] [INFO] [knowledge_base.kb_mgr:66]: KnowledgeBase database initialized: D:\aibot\组件\LLBot-Desktop-win-x64\bin\astrbot\data\knowledge_base\kb.db
[22:21:27.057] [Core] [INFO] [platform.manager:125]: 载入 aiocqhttp(qqserve) 平台适配器 ...
[22:21:27.169] [Core] [INFO] [dashboard.server:331]: 正在启动 WebUI, 监听地址: http://0.0.0.0:6185
[22:21:27.169] [Core] [INFO] [dashboard.server:333]: 提示: WebUI 将监听所有网络接口,请注意安全。(可在 data/cmd_config.json 中配置 dashboard.host 以修改 host)
[22:21:29.180] [Core] [INFO] [dashboard.server:370]:
✨✨✨
AstrBot v4.19.2 WebUI 已启动,可访问
➜ 本地: http://localhost:6185
➜ 网络: http://10.198.75.60:6185
➜ 网络: http://169.254.203.190:6185
➜ 网络: http://169.254.211.139:6185
➜ 网络: http://169.254.7.40:6185
➜ 网络: http://192.168.3.15:6185
➜ 网络: http://169.254.19.110:6185
➜ 网络: http://127.0.0.1:6185
➜ 默认用户名和密码: astrbot
✨✨✨
[22:21:29.182] [Core] [INFO] [core.core_lifecycle:297]: AstrBot 启动完成。
[22:21:29.184] [Core] [INFO] [core.core_lifecycle:305]: hook(on_astrbot_loaded) -> astrbot_plugin_debounce - on_astrbot_loaded
[22:21:29.188] [Core] [INFO] [utils.temp_dir_cleaner:127]: TempDirCleaner started. interval=600s cleanup_ratio=0.3
[22:21:29.190] [Core] [INFO] [t2i.network_strategy:56]: Successfully got 2 official T2I endpoints.
[2026-03-11 22:21:29 +0800] [8688] [INFO] Running on http://0.0.0.0:6199 (CTRL + C to quit)
[2026-03-11 22:21:29 +0800] [8688] [INFO] Running on http://0.0.0.0:6185 (CTRL + C to quit)
测试日志:
[22:10:29.943] [Core] [INFO] [core.event_bus:61]: [default] [qqserve(aiocqhttp)] test/: [图片]
[22:10:30.127] [Core] [WARN] [v4.19.2] [dashscope.dashscope_agent_runner:379]: 阿里云百炼暂不支持图片输入,将自动忽略图片内容。
[22:10:30.132] [Core] [ERRO] [v4.19.2] [dashscope.dashscope_agent_runner:106]: 阿里云百炼请求失败:prompt or messages is required!
[22:10:30.132] [Core] [WARN] [v4.19.2] [agent_sub_stages.third_party:110]: Agent Runner returned no final response, fallback to streamed error/result chain.
[22:10:30.134] [Core] [INFO] [respond.stage:184]: Prepare to send - test/: 阿里云百炼请求失败:prompt or messages is required!
Are you willing to submit a PR? / 你愿意提交 PR 吗?
- Yes!
Code of Conduct
- I have read and agree to abide by the project's Code of Conduct。