fix(core): revert retryFetchErrors default to false

This change reverts the default value of retryFetchErrors to false.
It will be handled separately in a future update.
This commit is contained in:
Aishanee Shah
2026-03-09 18:18:01 +00:00
parent 75074b3068
commit e0005b7dca
4 changed files with 5 additions and 5 deletions

View File

@@ -146,7 +146,7 @@ their corresponding top-level category object in your `settings.json` file.
- **`general.retryFetchErrors`** (boolean):
- **Description:** Retry on "exception TypeError: fetch failed sending
request" errors.
- **Default:** `true`
- **Default:** `false`
- **`general.maxAttempts`** (number):
- **Description:** Maximum number of attempts for requests to the main chat

View File

@@ -306,7 +306,7 @@ const SETTINGS_SCHEMA = {
label: 'Retry Fetch Errors',
category: 'General',
requiresRestart: false,
default: true,
default: false,
description:
'Retry on "exception TypeError: fetch failed sending request" errors.',
showInDialog: false,

View File

@@ -1014,7 +1014,7 @@ export class Config implements McpContext, AgentLoopContext {
params.gemmaModelRouter?.classifier?.model ?? 'gemma3-1b-gpu-custom',
},
};
this.retryFetchErrors = params.retryFetchErrors ?? true;
this.retryFetchErrors = params.retryFetchErrors ?? false;
this.maxAttempts = Math.min(
params.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
DEFAULT_MAX_ATTEMPTS,

View File

@@ -131,8 +131,8 @@
"retryFetchErrors": {
"title": "Retry Fetch Errors",
"description": "Retry on \"exception TypeError: fetch failed sending request\" errors.",
"markdownDescription": "Retry on \"exception TypeError: fetch failed sending request\" errors.\n\n- Category: `General`\n- Requires restart: `no`\n- Default: `true`",
"default": true,
"markdownDescription": "Retry on \"exception TypeError: fetch failed sending request\" errors.\n\n- Category: `General`\n- Requires restart: `no`\n- Default: `false`",
"default": false,
"type": "boolean"
},
"maxAttempts": {