fix(core): revert retryFetchErrors default to true

This commit is contained in:
Aishanee Shah
2026-03-11 13:57:12 +00:00
parent b245b7e8b9
commit ae8c75bcdb
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -306,7 +306,7 @@ const SETTINGS_SCHEMA = {
label: 'Retry Fetch Errors',
category: 'General',
requiresRestart: false,
default: false,
default: true,
description:
'Retry on "exception TypeError: fetch failed sending request" errors.',
showInDialog: true,
+1 -1
View File
@@ -1024,7 +1024,7 @@ export class Config implements McpContext, AgentLoopContext {
params.gemmaModelRouter?.classifier?.model ?? 'gemma3-1b-gpu-custom',
},
};
this.retryFetchErrors = params.retryFetchErrors ?? false;
this.retryFetchErrors = params.retryFetchErrors ?? true;
this.maxAttempts = Math.min(
params.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
DEFAULT_MAX_ATTEMPTS,