mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-09-14 02:42:24 +03:00
Reconciles Vision Bridge auto-selection with each provider's authoritative live model catalog, revalidating cached selections and preserving routable aliases / live-catalog IDs / registered effort variants, with fail-open behavior kept when the catalog is unavailable or non-authoritative. Closes #11767. One test-side fix applied before merge: "accepts a registry model whose liveCatalogIds match upstream" used `cgpt-web` (ChatGPT Web) as its fixture provider — retired by #11754 after this PR was authored, which removed every live registry entry populating `liveCatalogIds` and made the test's expected model unreachable (null, not the retired id). Swapped the fixture to a synthetic PROVIDER_MODELS entry (the registry Proxy is writable and reverted in `finally`) so the same production predicate is exercised without depending on since-deleted registry data. 16/16 focused tests passing on the current tip. Thanks for the fix!