Switch OpenCode model presets based on directory
Icanhazip major.io
Listen to this summary
I’ve tried lots of coding agents, such as Claude Code, Codex, Pi and OpenCode, but I keep coming back to OpenCode. The flexible configuration, keyboard shortcuts, and visual presentation in a terminal really appeal to me. However, I run into situations where certain sets of models and agents make sense in one software project but not another.
By combining oh-my-opencode-slim with direnv, opencode can use different models for different projects.
More ways to use this
Open on another device
Scan to open this page. Your saved notes and account access are not included.