mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
wip
This commit is contained in:
parent
1e04e5c37a
commit
4ba3cc87a2
3 changed files with 2 additions and 10 deletions
|
|
@ -155,7 +155,7 @@
|
|||
"Disable all MCP functionality"
|
||||
],
|
||||
"default": "enabled",
|
||||
"description": "Control MCP server functionality and its inclusion in AI prompts"
|
||||
"description": "Control MCP server functionality and its inclusion in AI prompts. When disabled, Cline will not be aware of MCP capabilities, saving model context window tokens."
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -914,7 +914,7 @@ RULES
|
|||
- The user may provide a file's contents directly in their message, in which case you shouldn't use the read_file tool to get the file contents again since you already have it.
|
||||
- Your goal is to try to accomplish the user's task, NOT engage in a back and forth conversation.${
|
||||
supportsComputerUse
|
||||
? `\n- The user may ask generic non-development tasks, such as "what\'s the latest news" or "look up the weather in San Diego", in which case you might use the browser_action tool to complete the task if it makes sense to do so, rather than trying to create a website or using curl to answer the question.${mcpHub.isMcpEnabled() ? "However, if an available MCP server tool or resource can be used instead, you should prefer to use it over browser_action." : ""}`
|
||||
? `\n- The user may ask generic non-development tasks, such as "what\'s the latest news" or "look up the weather in San Diego", in which case you might use the browser_action tool to complete the task if it makes sense to do so, rather than trying to create a website or using curl to answer the question.${mcpHub.getMode() !== "disabled" ? "However, if an available MCP server tool or resource can be used instead, you should prefer to use it over browser_action." : ""}`
|
||||
: ""
|
||||
}
|
||||
- NEVER end attempt_completion result with a question or request to engage in further conversation! Formulate the end of your result in a way that is final and does not require further input from the user.
|
||||
|
|
|
|||
|
|
@ -229,14 +229,6 @@ export class ClineProvider implements vscode.WebviewViewProvider {
|
|||
text: JSON.stringify(await getTheme()),
|
||||
})
|
||||
}
|
||||
if (e && e.affectsConfiguration("cline.mcp.enabled")) {
|
||||
// Send updated MCP mode
|
||||
const mode = this.mcpHub?.getMode() ?? "enabled"
|
||||
await this.postMessageToWebview({
|
||||
type: "mcpEnabled",
|
||||
mode,
|
||||
})
|
||||
}
|
||||
},
|
||||
null,
|
||||
this.disposables,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue