Audit Kilo Gateway catalog - #1855
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important Review skippedToo many files! This PR contains 428 files, which is 328 over the limit of 100. To get a review, reduce the PR to 100 files or fewer by splitting it into smaller PRs or changing its base branch. Upgrade to a paid plan to raise the limit. Usage-priced reviews support at most 300 files. ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (428)
You can disable this status message by setting the 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. Comment |
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1025b3e0c8
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| const internalId = (id) => { | ||
| const clean = id.replace(/^~/, "").replace(/:(free|thinking)$/, ""); | ||
| const [provider, ...rest] = clean.split("/"); | ||
| if (provider === "kilo-auto") return `kilo/${rest.join("/")}`; | ||
| return `${aliases[provider] ?? provider}/${rest.join("/")}`; |
There was a problem hiding this comment.
Resolve provider slugs to existing canonical model IDs
Do not assume every Kilo route slug is a new canonical ID. For example, amazon/nova-lite-v1 is emitted as a new canonical model even though the repository already owns the same “Nova Lite 1.0” model as amazon/nova-lite-1.0; similar duplicates are created for namespaces such as nousresearch versus nous. This splits one model’s routes, pricing, lifecycle, and benchmarks across duplicate catalog entries instead of keeping the Kilo slug provider-specific.
AGENTS.md reference: packages/data/catalog/AGENTS.md:L7-L10
Useful? React with 👍 / 👎.
| structured_output: (model.supported_parameters ?? []).some((param) => param.includes("structured") || param === "response_format"), | ||
| temperature: (model.supported_parameters ?? []).includes("temperature"), | ||
| streaming: true, | ||
| web_search: Number(model.pricing?.web_search ?? 0) > 0, |
There was a problem hiding this comment.
Derive web-search support from supported parameters
Determine this capability from supported_parameters, not whether Kilo charges a nonzero web-search fee. Routes such as openai/gpt-4o-2024-11-20 and openrouter/auto-beta advertise web_search_options, but the generated canonical records set web_search to false because their pricing field is absent or zero; consumers filtering for web-search-capable models therefore omit supported models.
AGENTS.md reference: packages/data/catalog/AGENTS.md:L14-L16
Useful? React with 👍 / 👎.
| source: { | ||
| kind: "official_models", | ||
| url: endpoint, | ||
| accessed_at: "2026-08-24T00:00:00Z", |
There was a problem hiding this comment.
Stamp provenance with the actual synchronization time
Compute the access/check timestamp when the script runs rather than hard-coding 2026-08-24. On any later synchronization, newly fetched prices and model availability will still claim they were accessed and verified on that date, making the catalog’s provenance and freshness metadata inaccurate throughout the generated records.
AGENTS.md reference: packages/data/catalog/AGENTS.md:L31-L32
Useful? React with 👍 / 👎.
Summary
/modelscatalogue as of 2026-08-24Reconciliation
kilo-auto/frontier,kilo-auto/balanced,kilo-auto/efficient, and five OpenRouter router models whose official rates are-1Validation
pnpm validate:datapnpm validate:pricingpnpm validate:gatewaypnpm openapi:sync-enumsgit diff --checkCreated with Codex