-
-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
It appears there may have been changes in claude-code-acp that are preventing the Anthropic model being selected either using either the ANTHROPIC_MODEL environment variable or via ~/.claude/settings.json. I am able to control the default model used by Claude using either of these approaches when invoking claude directly. However, when invoking claude via agent-shell and claude-code-acp these methods of setting the model are no longer respected and the default model (currently Sonnet 4.5) is always selected.
Some points of note:
- Please support model selection. I need sonnet[1m] zed-industries/claude-code-acp#30 suggests that model selection is supported in
claude-code-acpand Zed - I am using Claude models via Vertex (i.e.
CLAUDE_CODE_USE_VERTEX=1) though I suspect this regression would still be present when using Anthropic API's directly - If I override
CLAUDE_CODE_EXECUTABLEand dump the environment I can see thatANTHROPIC_MODELand other vars are correctly set but not being respected byclaudewhen invoked via ACP - I'm raising this issue here rather than at
claude-code-acpas the issue linked above suggests this is working in Zed which makes me think changes chould be required inagent-shellso figured I check here first - If changes are required to
agent-shellI'm happy to raise a PR and if changes are required toagent-shell-acpI can raise an issue there
Versions:
Checklist
- I've read the README's Issues section.
- For requesting new agent support, I'm including a link to the ACP-capable agent or related ACP package.
- For issues, I'm including ACP traffic (as per README).
gempesaw
Metadata
Metadata
Assignees
Labels
No labels