fix(admin): hide deprecated/stale models on the Models page by default #46
Reference in New Issue
Block a user
Delete Branch "fix/models-page-hide-deprecated"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
GET /admin/api/models returns every row regardless of availability, and models.html rendered all of them unconditionally -- so pruning OpenRouter's catalog to a 30-model allowlist (#45) still left ~395 deprecated rows cluttering the page.
Added a "Show deprecated / stale" toggle, off by default -- the page now reflects what's actually routable, without losing the ability to review or reactivate a deprecated row when you actually want to.
Also cleaned up a leftover manual override forcing
meta/muse-spark-1.1(a non-chat OpenRouter model, same category as the lyria models #42 was written for) toactivefrom an earlier debugging session -- a live instance of the admin-override-bypasses-the-allowlist edge case flagged as a known limitation during #45's review.New regression test confirmed failing on the unfixed page (marker + filter logic absent), passing after. Full suite: 1499 passed, 0 failures.