Repository navigation
给 Bot 指定 Agent 预设(含自定义工具白名单) #174
Replies: 2 comments
|
I'd like to implement the first half of this: letting a Bot name its own agent preset, plus a profile-level default. What it does
The second half of the request — defining a custom preset with a tool whitelist — needs the preset definition itself, which lives in DSH rather than in this plugin, so I am leaving that out of this change. This touches a decided design
Where the code is
How I checked it
Nothing is pushed yet. Would you like this as a pull request into |
|
Additional reproduction data from a macOS desktop install (2026-11-24):
Could DS Bot expose a per-Bot lightweight preset/tool allowlist in the UI, or is there a supported configuration workaround today? For this Messenger, web_search/web_fetch and ordinary replies should be enough; computer control and Bot-management tools are not needed. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
群聊截图
背景
现在 Bot 的创建和修改只暴露模型、角色标签、职责指令这些字段,没有地方指定这个 Bot 跑在哪个 Agent 预设上。而会话里是有预设选择的(标准 / PTC / 极简,以及自定义预设),但那是会话级别的,Bot 用不上。
诉求
希望主 Bot 能在创建和更新其他 Bot 时指定它的 Agent 预设,两层能力:
为什么需要
一是收紧能力面,专用 Bot 不该有无关权限;二是省上下文,工具描述本身就占不少 token,暴露一堆用不上的工具纯属浪费;三是现在唯一的替代办法是在职责指令里写"你只用某些工具",这只是提示,不构成真正的限制。
可能的形态(只是建议,以你的设计为准)
create_bot/update_bot增加preset参数,取值可以是内置预设 id,也可以是内联的工具白名单;All reactions