mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-05 14:52:09 +03:00
fix(combo): clarify log message when combo target is skipped due to unavailable credentials
The combo loop log messages misleadingly said '(all accounts in cooldown)' when the actual reason could be model exclusion, rate-limiting, or other credential unavailability. Updated to accurately describe the real reason.
This commit is contained in:
@@ -2042,11 +2042,11 @@ export async function handleComboChat({
|
||||
continue;
|
||||
}
|
||||
|
||||
// Pre-check: skip models where all accounts are in cooldown
|
||||
// Pre-check: skip models where no credentials are available (excluded, rate-limited, or unavailable)
|
||||
if (isModelAvailable) {
|
||||
const available = await isModelAvailable(modelStr, target);
|
||||
if (!available) {
|
||||
log.info("COMBO", `Skipping ${modelStr} (all accounts in cooldown)`);
|
||||
log.info("COMBO", `Skipping ${modelStr} — no credentials available or model excluded`);
|
||||
if (i > 0) fallbackCount++;
|
||||
continue;
|
||||
}
|
||||
@@ -2450,7 +2450,7 @@ async function handleRoundRobinCombo({
|
||||
if (isModelAvailable) {
|
||||
const available = await isModelAvailable(modelStr, target);
|
||||
if (!available) {
|
||||
log.info("COMBO-RR", `Skipping ${modelStr} (all accounts in cooldown)`);
|
||||
log.info("COMBO-RR", `Skipping ${modelStr} — no credentials available or model excluded`);
|
||||
if (offset > 0) fallbackCount++;
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user