test(models): follow #11503's Gemini -high alias retarget (#11593)

Merged via /merge-batch (lote 2026-08-26, v3.8.51). Boarded no worktree combinado junto com outras ~30 PRs; validação única: typecheck/complexity/cognitive-complexity/changelog-integrity verdes, file-size rebaseado onde necessário (crescimento legítimo), lint com os mesmos 228 achados pré-existentes confirmados via sonda contra o tip puro (não introduzidos por este lote), e ~370 testes focados (unit + vitest) passando. Obrigado pela contribuição.
This commit is contained in:
Nguyen Thanh Dat
2026-08-26 18:09:47 +07:00
committed by GitHub
parent 5cc213e46b
commit ff1ed20bb8
2 changed files with 6 additions and 1 deletions

View File

@@ -0,0 +1 @@
- **test(models):** follow #11503's retarget of the `gemini-3-pro-high` alias to the hyphenated catalog id ([#11593](https://github.com/diegosouzapw/OmniRoute/pull/11593))

View File

@@ -32,8 +32,12 @@ test("T31: antigravity static catalog exposes client-visible Gemini preview IDs"
assert.ok(!staticIds.includes("gemini-claude-opus-4-5-thinking"));
});
// #11503 retargeted the -high alias from the dotted id to the hyphenated one, on the
// grounds that the catalog spells it that way and the dotted form is not routable.
// The two rungs therefore no longer share a spelling — pinned separately so a future
// re-unification is a deliberate edit here rather than a silent drift.
test("T31: legacy Gemini aliases resolve to Gemini 3.1 IDs", () => {
assert.equal(resolveDeprecatedAlias("gemini-3-pro-high"), "gemini-3.1-pro-high");
assert.equal(resolveDeprecatedAlias("gemini-3-pro-high"), "gemini-3-1-pro-high");
assert.equal(resolveDeprecatedAlias("gemini-3-pro-low"), "gemini-3.1-pro-low");
});