fix(cli): update F12 behavior to only open drawer if browser fails (#18829)

This commit is contained in:
Sandy Tao
2026-02-11 09:45:43 -08:00
committed by GitHub
parent c748417633
commit 10b7fbf3e3
3 changed files with 42 additions and 15 deletions

View File

@@ -1521,6 +1521,7 @@ Logging in with Google... Restarting Gemini CLI to continue.
);
await toggleDevToolsPanel(
config,
showErrorDetails,
() => setShowErrorDetails((prev) => !prev),
() => setShowErrorDetails(true),
);
@@ -1660,6 +1661,7 @@ Logging in with Google... Restarting Gemini CLI to continue.
tabFocusTimeoutRef,
showTransientMessage,
settings.merged.general.devtools,
showErrorDetails,
],
);