hermes(vpn): route every profile lane to commandcode, openrouter stays fallback #2418
No reviewers
Labels
No labels
backlog
bug
enhancement
in-progress
library
needs-rebase
review
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ymrtech/nix-config!2418
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "hermes-provider-commandcode"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Owner directive: Command Code usage allowance is live, so the operator primary moves from OpenRouter to Command Code. Every lane moves with it — main model, history compression, aux compression, vision, delegation and cron — and the id changes WITH the route (
-1017is OpenRouter's id; Command Code servesdeepseek/deepseek-v4.1-flash). OpenRouter stays as the fallback chain.yankeeps its local Mistral on giga.deepseek/...-1017@ openrouterdeepseek/deepseek-v4.1-flash@ commandcodedeepseek/...-1017@ openrouterprimaryModel)deepseek/...-1017@ openrouterdeepseek/...-1017@ openrouterdeepseek/...-1017@ openrouterEvery lane derives BOTH model and provider from the
commandcodebinding (orprimaryModel), so a future route change is a one-place edit and cannot leave a lane on an id its route does not serve.Ordering: the paired nix-config-private PR (#921) derives the per-profile compression provider the same way and rotates the Command Code credential; it lands first, because the pinned private rev still hardcodes
provider = "openrouter"beside the new model id. This PR is rebased onto the post-bump main before merging.Verified by eval:
settings.{model,compression,auxiliary.{compression,vision},delegation,cron}all render provider=commandcode, model=deepseek/deepseek-v4.1-flash, fallbacks=openrouter.Owner directive 2026-10-29: Command Code's usage allowance is live, so the operator primary moves from OpenRouter to Command Code. Every lane moves with it — the main model, history compression, aux compression, vision, delegation and the cron pass — and the id changes WITH the route (`-1017` is OpenRouter's namespaced id; Command Code serves `deepseek/deepseek-v4.1-flash`). OpenRouter stays as the fallback chain; `yan` keeps its local Mistral on giga. lane before after model (default + named) deepseek/...-1017 @ openrouter -> deepseek/deepseek-v4.1-flash @ commandcode compression (history) deepseek/...-1017 @ openrouter -> commandcode (derived) auxiliary.compression deepseek/...-1017 @ openrouter -> commandcode (derived) auxiliary.vision deepseek/...-1017 @ openrouter -> commandcode (derived) delegation deepseek/...-1017 @ openrouter -> commandcode (derived) cron.model primaryModel (auto) -> primaryModel (auto, now commandcode) fallback_providers openrouter -> openrouter (unchanged) Every lane now derives BOTH the model and the provider from the `commandcode` binding (or `primaryModel`), so a future route change is a one-place edit and cannot leave a lane on an id its route does not serve. The paired nix-config-private change (profiles.nix) derives the per-profile compression provider the same way; it must land first, because the pinned private rev still hardcodes `provider = "openrouter"` next to the new model id. Verified by eval, not by inspection: `settings.{model,compression, auxiliary.{compression,vision},delegation,cron}` all render provider=commandcode, model=deepseek/deepseek-v4.1-flash, fallbacks=openrouter.8f7bcba8f3234beda5f1234beda5f1effcee3fd0effcee3fd0d9c8389848d9c83898485ee319ef645ee319ef6435f238fd3235f238fd3287c8a5fae987c8a5fae95a03b85c0c