Skip to content

Do not register models the catalog would not offer - #151

Merged
adambalogh merged 1 commit into
mainfrom
claude/daily-model-release-automation-1il3po
Sep 3, 2026
Merged

Do not register models the catalog would not offer#151
adambalogh merged 1 commit into
mainfrom
claude/daily-model-release-automation-1il3po

Conversation

@adambalogh

Copy link
Copy Markdown
Contributor

Curation policy for the daily model-release watch. One file, no code change — the registry itself is untouched. (Split out of the closed #150, which also carried a CI workflow that may not be needed; this half is needed either way.)

The registry is cheap to append to, which is exactly why it grows without anyone deciding it should. A daily job proposing every model our providers ship makes that worse: left alone it would register routing for models nothing surfaces, and each one is a name the gateway then has to route, price correctly and test forever for a model no user can select.

.claude/skills/add-gateway-model/SKILL.md now points at the bar that actually governs this — the one in chat-api's add-catalog-model skill, tightened in OpenGradient/chat-api#282, where a new model earns a picker row only if it offers something no current row does, and a better model replaces the one it supersedes rather than joining it. Registration is downstream of that decision, so it gets applied here first rather than registering speculatively and sorting it out later.

Practically, for a run adding a model: apply the catalog's bar before touching the enum, and if the new model supersedes one already registered, expect the catalog change to hide the old one and say which in the PR.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LCzE1jP1Yvy4fbSj4xtRkv


Generated by Claude Code

The registry is cheap to append to, which is why it grows without anyone
deciding that it should. A daily job proposing every model its providers
ship makes that worse, not better: left alone it would register routing
for models nothing surfaces, and each one is a name the gateway then has
to route, price and test forever for a model no user can select.

Point the skill at the curation bar that actually governs this — the one
in chat-api's add-catalog-model skill, where a new model earns a picker
row only if it offers something no current row does, and a better model
replaces the model it supersedes instead of joining it. Registration is
downstream of that decision, so apply it here first rather than
registering speculatively and sorting it out later.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LCzE1jP1Yvy4fbSj4xtRkv
@adambalogh
adambalogh marked this pull request as ready for review September 3, 2026 17:34
@adambalogh
adambalogh merged commit 3790510 into main Sep 3, 2026
9 checks passed
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