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:
Automation
2026-05-21 15:54:32 +02:00
parent 1ea91b6c71
commit 9989ac799f

View File

@@ -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;
}