Repository navigation
Never list hidden models - #57
Merged
Merged
Conversation
model list printed an "Also accepted (not recommended)" section and kept hidden entries in result.catalog. Hidden models are accepted but not shown in any interface, so the listing now skips them like deprecated models. Acceptance is unchanged: a named hidden model still passes the local --model check and reaches the service. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
The service marks some older model ids
hidden: still accepted when named, but no longer offered. The product rule is that hidden models are not shown in any interface. The web app's model picker already omits them. Butprose cli model listprinted them in an "Also accepted (not recommended)" section, with their successors, and kept them inresult.catalog.What changes
model list's catalog projection now skipshiddenentries, as it already diddeprecatedones, in both the Rust and Bun ports. The human "Also accepted (not recommended)" section is gone.--model, or as a job spec'smodel, still passes the local check and reaches the service. The premium and acceptance checks read the full catalog, not the listing.runs/submit-preview-hidden-model-acceptedkeeps pinning this.service status,service triage, capabilities, help and the guide didn't enumerate hidden models.discovery/model-list-catalog-jsonloses the hidden entry.discovery/model-list-catalog-humanloses the section.docs/service/discovery.md, the discovery schema's description and the CHANGELOG.Evidence
Local gates pass:
shared-contracts,service-help,public-surface-filesandservice-operations-corpusdifferential-conformanceandservice-coveragerust-formatandrust-clippyservice-operations-rustandservice-operations-bun: 1089 cases, 0 failures eachbun-typecheckThe Rust
discoveryunit tests pass, and the two changed cases were accepted only where Rust and Bun produce identical output.🤖 Generated with Claude Code