fix(core): add retry logic for specific fetch errors (#11066)

This commit is contained in:
Sandy Tao
2025-10-14 09:17:31 -07:00
committed by GitHub
parent c86ee4cc83
commit 7c1a90244a
8 changed files with 143 additions and 3 deletions

View File

@@ -184,6 +184,16 @@ const SETTINGS_SCHEMA = {
'Enable AI-powered prompt completion suggestions while typing.',
showInDialog: true,
},
retryFetchErrors: {
type: 'boolean',
label: 'Retry Fetch Errors',
category: 'General',
requiresRestart: false,
default: false,
description:
'Retry on "exception TypeError: fetch failed sending request" errors.',
showInDialog: false,
},
debugKeystrokeLogging: {
type: 'boolean',
label: 'Debug Keystroke Logging',