diff --git a/src/core/task/Task.ts b/src/core/task/Task.ts index 59eda533ad..70abeef643 100644 --- a/src/core/task/Task.ts +++ b/src/core/task/Task.ts @@ -1640,8 +1640,8 @@ export class Task extends EventEmitter { autoApprovalEnabled, alwaysApproveResubmit, requestDelaySeconds, - minRetryDelaySeconds, - maxRetryDelaySeconds, + minRetryDelaySeconds = 5, + maxRetryDelaySeconds = 100, mode, autoCondenseContext = true, autoCondenseContextPercent = 100, diff --git a/src/core/webview/ClineProvider.ts b/src/core/webview/ClineProvider.ts index 61f46ba089..f67c3d4e78 100644 --- a/src/core/webview/ClineProvider.ts +++ b/src/core/webview/ClineProvider.ts @@ -1673,6 +1673,8 @@ export class ClineProvider codebaseIndexEmbedderModelId: "", }, profileThresholds: stateValues.profileThresholds ?? {}, + minRetryDelaySeconds: stateValues.minRetryDelaySeconds ?? 5, + maxRetryDelaySeconds: stateValues.maxRetryDelaySeconds ?? 100, } }