Hacker News new | ask | show | jobs
by jerf 8 days ago
I use claude-code.

I've been trying to use agent-shell with OpenCode but the abstraction that agent-shell puts on top of it is too much. I can't figure out how to change the model. The command to do it doesn't do anything; I see the correct model list and seem to be able to select it, but then it doesn't change. If I just run "opencode" in the same directory it comes up configured the way I want. The Claude integration works with that workflow too. Opencode comes up with some baby CPU-only model that I've never heard of, and basically, it outputs syntactically correct English sentences but doesn't seem to do much more than that.

Since I mostly use Claude I haven't fussed with agent-shell much yet.

3 comments

Also, if a slash command is missing, that's because the model's ACP client doesn't implement it:

https://github.com/xenodium/agent-shell#why-doesnt-agent-she...

When on the agent shell buffer, do C-c C-v with the latest agent-shell to change the model
C-c C-v to change the model or M-x agent-shell-set-session-model