fix(ui): suppress redundant failure note when tool error note is shown (#21078)

This commit is contained in:
N. Taylor Mullen
2026-03-04 13:20:08 -08:00
committed by GitHub
parent 4c85d14f48
commit e63d273e4e
2 changed files with 6 additions and 3 deletions

View File

@@ -596,7 +596,10 @@ export const useGeminiStream = (
if (!isLowErrorVerbosity || config.getDebugMode()) {
return;
}
if (lowVerbosityFailureNoteShownRef.current) {
if (
lowVerbosityFailureNoteShownRef.current ||
suppressedToolErrorNoteShownRef.current
) {
return;
}