You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Documents the new supports_tool_choice field that the public endpoints route (GET /api/v1/models/{author}/{slug}/endpoints) now returns, from openrouter-web #38118.
The field is a per-variant capability object rather than a boolean:
The distinction that matters for the skill: tool_choice appearing in supported_parameters only means the endpoint accepts the parameter, not that it accepts every value. A request using an unsupported variant is routed away from the endpoint, and 404s when provider.require_parameters pins routing to it. The skill previously taught supported_parameters as the only capability check.
Changes: endpoint field list, response-shape tips, get-endpoints.ts output example and key-fields table, plus the script now passes the field through (?? null, since older catalog blobs may omit it).
Existing-PR search: gh pr list --state all --search "openrouter-models" — the open openrouter-models sync PRs (#174, #105, #86, #77, #73, #67, #63) cover unrelated topics (#174 is max_completion_tokens semantics), so none were reusable.
Verification: static review against the openrouter-web source diff (packages/llm-interfaces/public-endpoint-schema.ts, services/cfw-public-api/src/routes/endpoints/, projects/docs/openapi/openapi.yaml). No live API call was made against the endpoints route.
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:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Documents the new
supports_tool_choicefield that the public endpoints route (GET /api/v1/models/{author}/{slug}/endpoints) now returns, from openrouter-web #38118.The field is a per-variant capability object rather than a boolean:
The distinction that matters for the skill:
tool_choiceappearing insupported_parametersonly means the endpoint accepts the parameter, not that it accepts every value. A request using an unsupported variant is routed away from the endpoint, and 404s whenprovider.require_parameterspins routing to it. The skill previously taughtsupported_parametersas the only capability check.Changes: endpoint field list, response-shape tips,
get-endpoints.tsoutput example and key-fields table, plus the script now passes the field through (?? null, since older catalog blobs may omit it).Existing-PR search:
gh pr list --state all --search "openrouter-models"— the openopenrouter-modelssync PRs (#174, #105, #86, #77, #73, #67, #63) cover unrelated topics (#174 ismax_completion_tokenssemantics), so none were reusable.Verification: static review against the openrouter-web source diff (
packages/llm-interfaces/public-endpoint-schema.ts,services/cfw-public-api/src/routes/endpoints/,projects/docs/openapi/openapi.yaml). No live API call was made against the endpoints route.Link to Devin session: https://openrouter.devinenterprise.com/sessions/1dffde2347ef481d96f895cffe6a9dcc
Open in Devin Desktop: https://openrouter.devinenterprise.com/desktop/session/1dffde2347ef481d96f895cffe6a9dcc?variant=devin