fix: Exclude web-fetch tool from executing in default non-interactive mode to avoid CLI hang. (#14244)

This commit is contained in:
Mayur Vaid
2025-12-01 22:43:14 +05:30
committed by GitHub
parent 2fe609cb62
commit 4228a75186
2 changed files with 27 additions and 0 deletions

View File

@@ -29,6 +29,7 @@ import {
EDIT_TOOL_NAME,
debugLogger,
loadServerHierarchicalMemory,
WEB_FETCH_TOOL_NAME,
} from '@google/gemini-cli-core';
import type { Settings } from './settings.js';
@@ -530,6 +531,7 @@ export async function loadCliConfig(
SHELL_TOOL_NAME,
EDIT_TOOL_NAME,
WRITE_FILE_TOOL_NAME,
WEB_FETCH_TOOL_NAME,
];
const autoEditExcludes = [SHELL_TOOL_NAME];