Turn off debug logging of MaxSizedBox errors by default. (#1228)

This commit is contained in:
Jacob Richman
2025-06-20 05:27:03 +00:00
committed by GitHub
parent b179424161
commit 05b1c8101f
3 changed files with 15 additions and 2 deletions

View File

@@ -28,6 +28,7 @@ import {
AuthType,
} from '@gemini-cli/core';
import { validateAuthMethod } from './config/auth.js';
import { setMaxSizedBoxDebugging } from './ui/components/shared/MaxSizedBox.js';
export async function main() {
const workspaceRoot = process.cwd();
@@ -49,6 +50,8 @@ export async function main() {
const extensions = loadExtensions(workspaceRoot);
const config = await loadCliConfig(settings.merged, extensions, sessionId);
setMaxSizedBoxDebugging(config.getDebugMode());
// Initialize centralized FileDiscoveryService
config.getFileService();
if (config.getCheckpointingEnabled()) {