changed mcp setting name, changes setting option name

This commit is contained in:
Evan committed 2025-01-24 14:48:57 +08:00
1 parent c497eb1ff2
commit b1bcbfeadc
3 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -68,7 +68,7 @@ export class McpHub {
}
getMode(): McpMode {
return vscode.workspace.getConfiguration("cline.mcp").get<McpMode>("enabled", "enabled")
return vscode.workspace.getConfiguration("cline.mcp").get<McpMode>("mode", "enabled")
}
async getMcpServersPath(): Promise<string> {
+1 -1
View File
@@ -1,4 +1,4 @@
export type McpMode = "enabled" | "server-use-only" | "disabled"
export type McpMode = "enabled" | "mcp-tools-only" | "disabled"
export type McpServer = {
name: string