ability to override core system prompt (via .gemini/system.md) and specify core tools via coreTools setting (e.g. coreTools:["ls", "GrepTool", ...]) ; added tests, but did not update docs for now (#413)

This commit is contained in:
Olcan
2025-05-17 19:45:16 -07:00
committed by GitHub
parent 76cf5e9fc1
commit 3bf0304e31
9 changed files with 227 additions and 42 deletions

View File

@@ -399,6 +399,7 @@ export async function loadCliConfig(settings: Settings): Promise<Config> {
debugMode,
argv.prompt || '',
argv.all_files || false,
settings.coreTools || undefined,
settings.toolDiscoveryCommand,
settings.toolCallCommand,
settings.mcpServerCommand,

View File

@@ -21,6 +21,7 @@ export enum SettingScope {
export interface Settings {
theme?: string;
sandbox?: boolean | string;
coreTools?: string[];
toolDiscoveryCommand?: string;
toolCallCommand?: string;
mcpServerCommand?: string;