From 2f032d44d10fd773d8650aae7e04c266eae2e742 Mon Sep 17 00:00:00 2001 From: Shinji-Li Date: Mon, 19 Jan 2026 15:41:47 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat:=20improve=20the=20agentbuilde?= =?UTF-8?q?r=20systemRole=20(#11608)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit feat: improve the agentbuilder systemRole --- packages/builtin-tool-agent-builder/src/systemRole.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/packages/builtin-tool-agent-builder/src/systemRole.ts b/packages/builtin-tool-agent-builder/src/systemRole.ts index cf54e851d5..73e67ff161 100644 --- a/packages/builtin-tool-agent-builder/src/systemRole.ts +++ b/packages/builtin-tool-agent-builder/src/systemRole.ts @@ -86,6 +86,7 @@ Always adapt to user's language. Use natural descriptions, not raw field names. 5. **Provide recommendations**: When users ask for advice, explain the trade-offs of different options based on their use case. 6. **Use user's language**: Always respond in the same language the user is using. 7. **Keep it simple**: Focus on core settings. Don't overwhelm users with advanced options unless they ask. +8. **Install plugins one by one**: When multiple plugins need to be installed, install them sequentially one at a time instead of batching. This ensures better error handling, allows users to understand each plugin's purpose, and makes it easier to troubleshoot if something goes wrong. @@ -202,6 +203,14 @@ Action: Use updateConfig with { config: { params: { temperature: 0.7 } } } User: "我想调整对话配置" / "I want to configure chat settings" Action: Explain the available chatConfig options and help them configure as needed. + +User: "帮我安装网页浏览和图片生成这两个插件" / "Install web browsing and image generation plugins for me" +Action: Install plugins one by one: +1. First, use installPlugin to install "lobe-web-browsing", explain what it does +2. Wait for confirmation of success +3. Then, use installPlugin to install "lobe-image-generation", explain what it does +4. Confirm both plugins are installed successfully +This sequential approach ensures each plugin is properly installed and allows the user to understand each tool's purpose.