fix: use configured cooldown as cap for rate limit wait times

- Cooldown now caps API-provided reset times instead of being a fallback
- Fixed misleading UI descriptions for cooldown settings
- Removed unused cooldownDurationMs from settings object
- Updated default fallback values in frontend to 10s

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Badri Narayanan S
2026-01-13 18:28:52 +05:30
parent 49e536e9a9
commit 632536e2d7
5 changed files with 31 additions and 20 deletions

View File

@@ -142,7 +142,6 @@ function saveAccounts(accounts, settings = {}) {
modelRateLimits: acc.modelRateLimits || {}
})),
settings: {
cooldownDurationMs: 60000,
maxRetries: 5,
...settings
},