GitHub · 灵魂体仓库·· 19 天前精选AI 评分55
astrbot_plugin_onebot_toolkit:为 LLM 暴露 OneBot(NapCat)原生能力的 AstrBot 插件
landamao/astrbot_plugin_onebot_toolkit
来源与原文
GitHub · 灵魂体仓库
发布时间:(北京时间)
阅读原始来源 · github.com ↗完整链接与内容说明
https://github.com/landamao/astrbot_plugin_onebot_toolkit
本站目前仅有 AI 导读与摘要,未展示原文正文;技术细节、代码和完整结论请查看原始来源。
AI 导读
landamao 发布了 AstrBot 插件 astrbot_plugin_onebot_toolkit,为 LLM 提供 call_onebot_action、get_group_msg_history、batch_delete_msg 等十个工具,可直接调用 OneBot 协议(NapCat)能力。插件支持平台提示词注入(提醒模型平台不支持渲染 Markdown)、非管理员的 Action 白名单过滤,并提供 /AI解答 指令与 ai_solve 工具,用独立的 tool_loop_agent 解答问题而不影响主聊天上下文。安装到 data/plugins/onebot_toolkit/ 重启即可,License 为 MIT。
推荐理由
插件给 LLM 暴露 OneBot 原生能力,其管理员与非管理员的动作白名单权限设计可直接借鉴到群聊机器人工具方案。
来源:GitHub · 灵魂体仓库 · github.com