Skip to content

docs(openrouter-models): sync with openrouter-web changes - #203

Open
devin-ai-integration[bot] wants to merge 2 commits into
mainfrom
devin/1793293397-update-openrouter-models
Open

devin-ai-integration[bot] wants to merge 2 commits into
mainfrom
devin/1793293397-update-openrouter-models

Conversation

@devin-ai-integration

@devin-ai-integration devin-ai-integration Bot commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Syncs openrouter-models with 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/models called with an API key now always returns only the models that key can route to. The is_filtered_model_catalog_enabled org setting now controls only the dashboard list. Anonymous requests still get the public catalog. This skill's fetchApi sends OPENROUTER_API_KEY whenever it's set, so list-models.ts, search-models.ts, compare-models.ts, and resolve-model.ts now 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/models now has a required endpoints: 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-provider endpoints array from get-endpoints.ts. The formatModel() 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


Devin Review

@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

I'll fix CI failures and address comments from users with write access that start with 'Devin'.

  • Disable automatic comment, CI, and merge conflict monitoring

Original prompt from Default System User

You are the public skills sync pipeline. Your job is to scan PRs merged to main on OpenRouterTeam/openrouter-web in the last 24 hours, determine if any changes warrant updating the public agent skills in OpenRouterTeam/skills, and open PRs to the skills repo when updates are needed.

#``# Step 1: Identify relevant merged PRs

Clone both repos:

cd /home/ubuntu/repos/openrouter-web
git fetch origin main
git log --since='24 hours ago' --merges --first-parent origin/main --pretty=format:'%H|%s' --name-only

For each merged PR, collect the list of changed files. Only PRs that touch the paths in the mapping below are relevant. Skip bot commits (devin-ai-integration[bot], Devin AI, GitHub Actions Bot, openrouter[bot], opencode-agent[bot], OpenRouter SDK Bot, Claude, detail-app[bot], forge-the-devex-intern[bot], dependabot[bot]).

If no relevant PRs were merged, post a short message to the #devrel Slack channel (C08LQFVSC7Q) saying no skill-relevant changes were detected today, and exit.

#``# Step 2: Map changed files to affected skills

Use this mapping to determine which public skills are potentially affected:

openrouter-web paths Affected skill(s) in OpenRouterTeam/skills
sdks/typescript/, packages/llm-interfaces/ openrouter-typescript-sdk, openrouter-agent-migration
services/cfw-*/src/routes/*analytics*, analytics query/response schemas openrouter-analytics, openrouter-analytics-query, openrouter-analytics-schema
Generation routes, /api/v1/generation openrouter-generations
Image generation adapters, packages/image-generation/ openrouter-images
supabase/seeds/, model schemas, /api/v1/models route openrouter-models
OAuth/auth routes, PKCE flow code openrouter-oauth
STT adapters, services/cfw-stt-api/, /api/v1/audio/transcriptions openrouter-stt
TTS routes, /api/v1/audio/speech openrouter-tts
Video adapters, /api/v1/videos openrouter-video
``@`openr... (3383 chars truncated...)

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
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.

0 participants