Repository navigation
Exclude private providers from public model datacenters - #928
Gajesh2007 wants to merge 2 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
@codex review |
|
Codex Review: Didn't find any major issues. Keep it up! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
Consolidated into #1056 for review and merge after #1094, #1095 and #1096. #1056 contains this branch's exact head ( |
A private-only provider could add its country to OpenRouter's public model datacenters even though public model counts and dispatch excluded that provider. With a public provider in the US and a private provider in India,
ModelCountryCodesreturned[IN US].Share the existing
ListModelsprovider gate withModelCountryCodes. Both public views now exclude private-only, offline, untrusted, below-floor and private-text-ineligible providers under the same locks. Per-model catalog checks and country normalization/sorting remain unchanged. Owner self-route and inventory-oriented snapshots retain their separate policies.Before:
After:
Validation: the regression fails on master with
[IN US]and passes after the fix, including the all-private case returning no countries. Full registry and routing-simulation race suites pass (24.527s / 3.721s). Documentation checks pass for all 278 pages. No dependency, model default, routing policy or deployment change.Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.