docs(auto_routing): host an interactive auto router setup skill and link to it - #772
Merged
Merged
Conversation
…uter setup Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Contributor
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…o it Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
…tral Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
…geable defaults Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
…ck menu Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
Gives the auto routing page a one-line way to get started, following the pattern OpenRouter uses for Ori Eval: the docs carry the command and nothing else, and the instructions live in a file the agent fetches.
The skill body is
static/skills/auto-router(extensionless, served verbatim like the existingllms.txt). It is an interview, not a script. The agent enumerates the models the proxy already serves (from the loaded config or/v1/models), then asks the user for the router name and for the model behind each of SIMPLE, MEDIUM, COMPLEX, and REASONING plus the classification fallback, with an explicit instruction not to propose a name or pre-fill an assignment. It then writes a singleauto_router/complexity_routerentry, or the/model/newequivalent on a DB-managed proxy.Before finishing it has to lay out the defaults left in force as a table (heuristic classifier, session affinity off, no keyword rules, no semantic matching, adaptive off, built-in technical keywords, built-in scorer thresholds) with what changing each one buys, ask whether the user wants any of them changed, and keep unchanged values out of the config so the backend default applies. Choosing the LLM classifier surfaces its own defaults,
classifier_context_window_size: 3andclassifier_context_per_turn_chars: 200with assistant turns excluded, as another decision rather than a silent one.Wording stays agent-neutral throughout; the Anthropic-shaped name rule appears only as a conditional aside for clients that filter model names by vendor, and the Claude Code tutorial points at the same command.
Verified with
npm run build, then served the build and confirmedGET /skills/auto-routerreturns 200 with the file body.Link to Devin session: https://app.devin.ai/sessions/ebf09cc850e64aa5b7e296d04c3ef840