changed mcp setting name, changes setting option name
This commit is contained in:
1 parent
c497eb1ff2
commit
b1bcbfeadc
3 files changed
+4
-4
No files matched your search
+2
-2
@@ -142,11 +142,11 @@
|
||||
},
|
||||
"description": "Settings for VSCode Language Model API"
|
||||
},
|
||||
"cline.mcp.enabled": {
|
||||
"cline.mcp.mode": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"enabled",
|
||||
"server-use-only",
|
||||
"mcp-tools-only",
|
||||
"disabled"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
|
||||
@@ -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
@@ -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
|
||||
|
||||
Reference in new issue
Block a user