- Cap maximum cooldown for rate limit handling in account unavailability and single-model chat flows

- Dynamic custom model fetching for model selection
This commit is contained in:
decolua
2026-04-24 16:14:18 +07:00
parent c42c0146ab
commit cca615eaff
19 changed files with 108 additions and 60 deletions
+9
View File
@@ -39,6 +39,15 @@ export function getRotatedModels(models, comboName, strategy) {
return rotatedModels;
}
/**
* Reset in-memory rotation state when combo/settings change
* @param {string} [comboName] - Combo name to reset; omit to clear all
*/
export function resetComboRotation(comboName) {
if (comboName) comboRotationState.delete(comboName);
else comboRotationState.clear();
}
/**
* Get combo models from combos data
* @param {string} modelStr - Model string to check