Skip to content

fix(v1/models): include alias-backed models in listing - #730

Merged
decolua merged 1 commit into
decolua:masterfrom
kenlin-open:fix/v1-models-alias-listing
May 3, 2026
Merged

decolua merged 1 commit into
decolua:masterfrom
kenlin-open:fix/v1-models-alias-listing

Conversation

@kenlin8827

Copy link
Copy Markdown
Contributor

Ensure /v1/models includes provider models added through alias mappings so compatible provider entries like custom/kimi-k2.6 are discoverable by clients.

Ensure /v1/models includes provider models added through alias mappings so compatible provider entries like huoshan/kimi-k2.6 are discoverable by clients.

Made-with: Cursor
@decolua
decolua merged commit f7e85e3 into decolua:master May 3, 2026
brilliant5163 pushed a commit to brilliant5163/9router that referenced this pull request May 8, 2026
Ensure /v1/models includes provider models added through alias mappings so compatible provider entries like huoshan/kimi-k2.6 are discoverable by clients.

Made-with: Cursor

Co-authored-by: Ken Lin <kenlin1988@foxmail.com>
caothu159 pushed a commit to diepxuan/9router that referenced this pull request May 14, 2026
Ensure /v1/models includes provider models added through alias mappings so compatible provider entries like huoshan/kimi-k2.6 are discoverable by clients.

Made-with: Cursor

Co-authored-by: Ken Lin <kenlin1988@foxmail.com>
diegosouzapw pushed a commit to diegosouzapw/OmniRoute that referenced this pull request Jun 24, 2026
Surface models registered ONLY through the `modelAliases` key_value namespace
(value = "<providerKey>/<modelId>", e.g. setModelAlias("kimi-k2.6",
"custom/kimi-k2.6")) so compatible-provider entries that resolve at request
time but were silently dropped from /v1/models are now discoverable by OpenAI
clients. Same gating as the existing static/custom path: provider must be
active (or noAuth+unblocked), model must not be hidden, alias/canonical id
must not already exist. Pair-extract is a pure leaf (aliasBackedModels.ts)
unit-tested in v1-models-aliases-included.test.ts.

Co-authored-by: Ken Lin <kenlin1988@foxmail.com>
Inspired-by: decolua/9router#730
@kenlin8827
kenlin8827 deleted the fix/v1-models-alias-listing branch July 6, 2026 06:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants