Skip to content

Route Model/ModelVariant through the claude adapter as --model/--effort#462

Merged
proboscis merged 1 commit into
mainfrom
fix/claude-adapter-model-effort
Jun 11, 2026
Merged

Route Model/ModelVariant through the claude adapter as --model/--effort#462
proboscis merged 1 commit into
mainfrom
fix/claude-adapter-model-effort

Conversation

@proboscis

Copy link
Copy Markdown
Owner

Problem

orch run --agent claude --model X --model-variant Y silently launched the profile-default model: ClaudeAdapter.LaunchCommand never read LaunchConfig.Model / ModelVariant. The only ways to pin a claude model were claude.extra_args in global config or --agent custom --agent-cmd.

Fix

Pass them through the way the opencode adapter does: Model--model (e.g. claude-fable-5), ModelVariant--effort (claude accepts low|medium|high|xhigh|max). Flag help updated.

Verification

  • go test ./internal/agent/ green incl. new TestClaudeLaunchCommandModelAndEffort
  • Live: two production runs launched via orch run --agent claude --on mac --model claude-fable-5 --model-variant xhigh (acp-k4-emit-dispatcher-migration, acp-post-decision-standdown); ps confirmed claude --dangerously-skip-permissions --model claude-fable-5 --effort xhigh … and orch ps now displays the model column for claude runs.

Note: only the worker/CLI side needs the new binary (launch command is built on the worker); already deployed on CA-20035844. zeus master can pick it up on its next routine update.

🤖 Generated with Claude Code

The claude adapter dropped LaunchConfig.Model and ModelVariant on the
floor, so 'orch run --agent claude --model X --model-variant Y' silently
launched the profile-default model.  Pass them through the way the
opencode adapter does: --model verbatim, variant as claude's --effort
(low|medium|high|xhigh|max).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@proboscis proboscis force-pushed the fix/claude-adapter-model-effort branch from fd4d642 to 841d5c2 Compare June 11, 2026 13:07
@proboscis proboscis merged commit 62f1bb1 into main Jun 11, 2026
3 checks passed
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.

1 participant