mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-20 16:57:46 +00:00
add excludeTools flag to settings.json config (#957)
This commit is contained in:
@@ -44,6 +44,7 @@ vi.mock('@gemini-cli/core', async () => {
|
||||
getQuestion: () => params.question,
|
||||
getFullContext: () => params.fullContext,
|
||||
getCoreTools: () => params.coreTools,
|
||||
getExcludeTools: () => params.excludeTools,
|
||||
getToolDiscoveryCommand: () => params.toolDiscoveryCommand,
|
||||
getToolCallCommand: () => params.toolCallCommand,
|
||||
getMcpServerCommand: () => params.mcpServerCommand,
|
||||
|
||||
@@ -175,6 +175,7 @@ export async function loadCliConfig(
|
||||
question: argv.prompt || '',
|
||||
fullContext: argv.all_files || false,
|
||||
coreTools: settings.coreTools || undefined,
|
||||
excludeTools: settings.excludeTools || undefined,
|
||||
toolDiscoveryCommand: settings.toolDiscoveryCommand,
|
||||
toolCallCommand: settings.toolCallCommand,
|
||||
mcpServerCommand: settings.mcpServerCommand,
|
||||
|
||||
@@ -29,6 +29,7 @@ export interface Settings {
|
||||
theme?: string;
|
||||
sandbox?: boolean | string;
|
||||
coreTools?: string[];
|
||||
excludeTools?: string[];
|
||||
toolDiscoveryCommand?: string;
|
||||
toolCallCommand?: string;
|
||||
mcpServerCommand?: string;
|
||||
|
||||
Reference in New Issue
Block a user