novita: state the upstream model from the maker namespace of the id #725
main fromfeat/718-upstream-novita·merged by tombeckenham View on GitHubPart of #718.
Rule: a Novita id (api.novita.ai/openai/v1/models data[].id) is maker/model; the namespace is the maker and the rest is the upstream raw id, source { derivation: listing, sourceUrl: https://api.novita.ai/openai/v1/models, path: data[].id }. The listing's owned_by is novita (the host) on every row, so it names no maker and the id is the only statement. An id with no namespace states nothing. No per-model table.
Examples: moonshotai/kimi-k3 -> moonshot kimi-k3; zai-org/glm-5.3 -> zai glm-5.3; xiaomimimo/mimo-v2.6-pro -> xiaomi; deepseek/deepseek-v4-pro -> deepseek; google/gemma-4-31b-it -> gemini; qwen/qwen3.8-max -> dashscope once #723 lands.
Namespaces added: moonshotai on moonshot, xiaomimimo on xiaomi, zai-org on zai. qwen for dashscope is in #723 (Together) so the two PRs do not edit the same line. These names also apply to any other host's evidence that uses them.
Counts against the live listing (2026-11-21): 78 rows, all 78 state an upstream. 16 have a target row with this PR alone (moonshot 4, zai 7, xiaomi 2, gemini 2, deepseek 1); 30 once #723's qwen claim is in (14 qwen/* rows match dashscope ids exactly).
Unlinked, and why: makers with no API row here (tencent, stepfun, baichuan, sao10k, gryphe, nousresearch, mindai, paddlepaddle, microsoft) and ids the maker does not serve under the same name (meta-llama/* and inclusionai/*, which are unclaimed names whose ids differ from the Meta and Ant Ling API ids, deepseek/deepseek-v4.1-flash-1017, moonshotai/kimi-k3.1-pro-highspeed). Matching by similar name is #719. The evidence is stored, so a target that arrives later links without a re-poll.
Checks: typecheck, lint, check, novita.test.ts, model-namespaces.test.ts, model-identity.worker.test.ts pass.
- 1
Warning
Review limit reached#
You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.
Next included review available in 33 minutes.
View limit details
-
Limit details: You’ve used the included review currently available.
Review configuration:
Run configuration-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: defaults
- Review profile: CHILL
- Plan: Advanced
- Run ID:
8749432c-cc5e-4176-9674-335731548b83
Commits-
Reviewing files that changed from the base of the PR and between 3cd28b65a3b40ec3143f48410a4a6fc3dc9fcc38 and 13159ca8e69ad906353a8a77a26bad9256fa1bde.
Files selected for processing: 5-
src/server/providers/adapters/moonshot.tssrc/server/providers/adapters/novita.test.tssrc/server/providers/adapters/novita.tssrc/server/providers/adapters/xiaomi.tssrc/server/providers/adapters/zai.ts
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
-
tombeckenham merged thisa1377e6
tombeckenham closed this
Sign in to join this conversation.
⚠️ No Changeset found#
Latest commit: 13159ca8e69ad906353a8a77a26bad9256fa1bde
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
This PR includes no changesets
When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR