mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-30 04:30:48 +00:00
Turn off debug logging of MaxSizedBox errors by default. (#1228)
This commit is contained in:
parent
b179424161
commit
05b1c8101f
3 changed files with 15 additions and 2 deletions
|
|
@ -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()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue