siciyuanweilai

Results comments of siciyuanweilai

更新最新版本还是报错了 [12:28:15] [Core] [ERRO] [core.astr_agent_tool_exec:210]: 处理函数参数不匹配,请检查 handler 的定义。 Traceback (most recent call last): File "/home/ubuntu/AstrBot/astrbot/core/astr_agent_tool_exec.py", line 202, in call_local_llm_tool ready_to_call = handler(event, *args, **kwargs) TypeError: GeminiImageGenerationPlugin.generate_image_tool() missing 2 required positional...

API测试可用,为啥老是提示错误呢 [13:53:03] [Core] [INFO] [runners.tool_loop_agent_runner:229]: Agent 使用工具: ['gemini_image_generation'] [13:53:03] [Core] [INFO] [runners.tool_loop_agent_runner:241]: 使用工具:gemini_image_generation,参数:{'prompt': '一个18岁的中国女孩,长发,穿着白色的连衣裙,温柔可爱,写实照片风格。'} [13:53:03] [Plug] [INFO] [astrbot_plugin_gemini_image_generation.main:2622]: [AVATAR_DEBUG] include_user_avatar参数: false [13:53:03] [Plug] [INFO] [astrbot_plugin_gemini_image_generation.main:1244]: 📸 未收集到有效参考图片,若需参考图可直接发送图片或检查网络权限 [13:53:03] [Plug] [INFO]...

> 也许重启能够解决, 这可能是关闭插件只会触发对应的terminate()方法而不会从注册的函数工具列表中去除对应的函数工具导致的? 关了astrbot_plugin_bilibili插件并重启,但是astrbot_plugin_sensoji插件也会受到影响,这个似乎不是插件的问题,Astrbot无缘无故调用各种插件的函数工具,之前用的Astrbot版本并没有出现这种情况。 ![Image](https://github.com/user-attachments/assets/68f6c4a5-2e30-40c8-b7d7-afab19225ff3)

> Gemini 2.5 Pro模型问题,请尝试设置思考预算为0 这个设置只有原生的Gemini才有,用的第三方中转api的Gemini没办法了吗?

换了Linux服务器,已解决

/new 重试了也不行 日志: [14:08:48] [Core] [INFO] [core.event_bus:54]: [default] [Bot(aiocqhttp)] 昵称/QQ号: /new [14:08:48] [Core] [DBUG] [method.star_request:45]: plugin -> astrbot - new_conv [14:08:48] [Core] [DBUG] [result_decorate.stage:109]: hook(on_decorating_result) -> astrbot_plugin_recall_cancel - check_before_send [14:08:48]...

可是插件生成只有图片的话,直接引用回复是可以识别的 而生成文字+图片就没法识别了

已修改,所有功能正常。