Repository navigation
docs(openrouter-models): sync with openrouter-web changes - #203
devin-ai-integration[bot] wants to merge 2 commits into
Conversation
|
I'll fix CI failures and address comments from users with write access that start with 'Devin'.
Original prompt from Default System User
|
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Summary
Syncs
openrouter-modelswith two openrouter-web changes.Key-scoped catalog (https://github.com/OpenRouterTeam/openrouter-web/pull/53267, https://github.com/OpenRouterTeam/openrouter-web/pull/53292):
GET /api/v1/modelscalled with an API key now always returns only the models that key can route to. Theis_filtered_model_catalog_enabledorg setting now controls only the dashboard list. Anonymous requests still get the public catalog. This skill'sfetchApisendsOPENROUTER_API_KEYwhenever it's set, solist-models.ts,search-models.ts,compare-models.ts, andresolve-model.tsnow return results scoped to the key. The SKILL.md Prerequisites and the README now say this and explain how to check the full catalog: unset the key.Model request paths (https://github.com/OpenRouterTeam/openrouter-web/pull/55667): every model in
GET /api/v1/modelsnow has a requiredendpoints: string[]field listing the request API paths that serve it, for example["/api/v1/chat/completions", "/api/v1/completions", "/api/v1/messages", "/api/v1/responses"],["/api/v1/images"],["/api/v1/audio/speech"], or["/api/alpha/decisions"]. It's live in production. In the public catalog, 10 models list text + images, and 75 list nothing. The SKILL.md response tips and Key Fields table now document it, and say it isn't the same thing as the per-providerendpointsarray fromget-endpoints.ts. TheformatModel()drop list now includes it. Script output is unchanged.Link to Devin session: https://openrouter.devinenterprise.com/sessions/680d2b6205bc4cf4a0624a3064165b83
Open in Devin Desktop: https://openrouter.devinenterprise.com/desktop/session/680d2b6205bc4cf4a0624a3064165b83?variant=devin