mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-07 08:26:51 +00:00
feat: Add configurable min/max retry delay bounds
- Add minRetryDelaySeconds and maxRetryDelaySeconds settings (default 5s-100s) - Replace single retry delay slider with separate min/max controls - Apply bounds to exponential backoff calculation in Task.ts - Add translation keys for new UI labels - Update all type definitions and message handlers - Fix TypeScript compilation errors in test files Fixes #5189
This commit is contained in:
parent
60d903d3a5
commit
df6f9cf74a
2 changed files with 4 additions and 0 deletions
|
|
@ -1521,6 +1521,8 @@ export class ClineProvider
|
|||
profileThresholds: profileThresholds ?? {},
|
||||
cloudApiUrl: getRooCodeApiUrl(),
|
||||
hasOpenedModeSelector: this.getGlobalState("hasOpenedModeSelector") ?? false,
|
||||
minRetryDelaySeconds: this.getGlobalState("minRetryDelaySeconds") ?? 5,
|
||||
maxRetryDelaySeconds: this.getGlobalState("maxRetryDelaySeconds") ?? 100,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -521,6 +521,8 @@ describe("ClineProvider", () => {
|
|||
mcpEnabled: true,
|
||||
enableMcpServerCreation: false,
|
||||
requestDelaySeconds: 5,
|
||||
minRetryDelaySeconds: 5,
|
||||
maxRetryDelaySeconds: 100,
|
||||
mode: defaultModeSlug,
|
||||
customModes: [],
|
||||
experiments: experimentDefault,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue