diff --git a/config/quality/file-size-baseline.json b/config/quality/file-size-baseline.json index 5cc96ce185..852455a288 100644 --- a/config/quality/file-size-baseline.json +++ b/config/quality/file-size-baseline.json @@ -185,7 +185,7 @@ "tests/unit/cc-compatible-provider.test.ts": 1217, "tests/unit/chatcore-translation-paths.test.ts": 2876, "tests/unit/chatgpt-web.test.ts": 3148, - "tests/unit/combo-routing-engine.test.ts": 3464, + "tests/unit/combo-routing-engine.test.ts": 3457, "tests/unit/db-migration-runner.test.ts": 1499, "tests/unit/deepseek-web.test.ts": 1092, "tests/unit/executor-codex.test.ts": 1339, diff --git a/tests/unit/combo-routing-engine.test.ts b/tests/unit/combo-routing-engine.test.ts index a13cbb1d7b..e3f71e8052 100644 --- a/tests/unit/combo-routing-engine.test.ts +++ b/tests/unit/combo-routing-engine.test.ts @@ -2318,10 +2318,6 @@ test("handleComboChat returns a 503 when every model is unavailable before execu const payload = (await result.json()) as any; assert.equal(result.status, 503); - // isModelAvailable always false means every target is skipped by the - // pre-dispatch filter with zero dispatch attempts — the more precise - // ALL_TARGETS_SKIPPED classification, not ALL_ACCOUNTS_INACTIVE (which - // implies targets were attempted and their accounts found inactive). assert.equal(payload.error.code, "ALL_TARGETS_SKIPPED"); }); @@ -2851,9 +2847,6 @@ test("handleComboChat round-robin resolves nested combos and returns inactive wh const payload = (await result.json()) as any; assert.equal(result.status, 503); - // isModelAvailable always false means every nested target is skipped by the - // pre-dispatch filter with zero dispatch attempts — ALL_TARGETS_SKIPPED, - // not ALL_ACCOUNTS_INACTIVE (see the analogous priority-strategy test above). assert.equal(payload.error.code, "ALL_TARGETS_SKIPPED"); }); diff --git a/tests/unit/t23-t24-fallback-resilience.test.ts b/tests/unit/t23-t24-fallback-resilience.test.ts index 22f9c5d7da..f0f51d30a2 100644 --- a/tests/unit/t23-t24-fallback-resilience.test.ts +++ b/tests/unit/t23-t24-fallback-resilience.test.ts @@ -148,10 +148,6 @@ test("T24: all inactive accounts return 503 service_unavailable (not 406)", asyn assert.equal(result.status, 503); const body = (await result.json()) as any; - // isModelAvailable always false means every target is skipped by the - // pre-dispatch filter with zero dispatch attempts — the more precise - // ALL_TARGETS_SKIPPED classification, not ALL_ACCOUNTS_INACTIVE (which - // implies targets were attempted and their accounts found inactive). assert.equal(body.error?.code, "ALL_TARGETS_SKIPPED"); });