Repository navigation
Question: how do we configure and reference multiple OpenRouter models? #550
Unanswered
MrChrisRodriguez
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
We use OpenRouter as a provider and want to route more than one OpenRouter-hosted model (e.g. GLM, Kimi, DeepSeek — and newer point releases like
z-ai/glm-5.2) to different commands/phases. It's unclear from the config surface how to do this, and the docs//octo:model-configoutput seem to imply it works when (as far as we can tell) it doesn't. Two concrete questions:1. How should we configure OpenRouter models when we want to use more than one?
~/.claude-octopus/config/providers.jsonlets us set:…but as far as we can tell
providers.openrouter.default/ capability slots are not read on the actual OpenRouter execution path.openrouter_execute→get_openrouter_model(task_type, complexity)returns hardcoded Anthropic models per task type (e.g.review→anthropic/claude-sonnet-4), and the only way to pin a specific OpenRouter model appears to be the fixed dispatch aliases:So:
dispatch.sh(which is clobbered on every plugin upgrade)?providers.openrouter.default(and sibling capability keys likeopenrouter.glm) supposed to be authoritative for OpenRouter execution? Today it looks like it's read by nothing, which is surprising.z-ai/glm-5, notz-ai/glm-5.2). What's the intended path to a newer point release without patching the plugin?2. How do we reference those models as a provider for different commands?
Given N configured OpenRouter models, how are we meant to say "use model X for
/octo:review, model Y for/octo:specresearch, model Z for/octo:debate"?We tried the routing keys:
…but these appear to be inert for the review fleet:
.routing.features.review(an array), notrouting.phases/routing.roles. Withfeatures.reviewabsent, it falls back to acommand -vcascade that contains no OpenRouter agent, so OpenRouter never participates.model-resolver.shdoes readrouting.phases/routing.roles, but its cross-provider guard skips a route whose target provider differs from the provider being resolved — so"review": "openrouter:default"never swaps codex/gemini/claude over to OpenRouter; it can only remap a model within an already-selected provider./octo:model-configdisplays thesephases/rolesvalues, which reads as if they're taking effect — but they don't reach the fleet.Questions:
routing.features.<command>,routing.phases,routing.roles, or something else — and which commands honor which key?/octo:model-configsupposed to writerouting.features.*? It doesn't appear to, so there seems to be no first-class UI to add an OpenRouter model to a review/debate fleet.Environment
9.45.0, configversion: 3.0OPENROUTER_API_KEY;codex+geminiCLIs installed;perplexity/opencodenot.Thanks — mostly trying to confirm whether this is a config gap, a docs gap, or user error on our end.
All reactions