Description
run ollama launch opencode --model x, run a prompt and then run ollama launch opencode --model y. Now opencode will always need model x installed. I removed:
rm -rf /tmp/ollama-backups/
rm -rf ~/.local/state/opencode/
rm -rf ~/.config/opencode/
Still requires. I've deleted all sessions as well, still required.
IDK if this is intentional but I really dont want to retain any data.
At max ollama launch opencode --model x should return to the last session I had with model x but never require me to have a model installed....
Plugins
No response
OpenCode version
1.3.0
Steps to reproduce
- ollama launch opencode --model x
- ollama rm x
- ollama launch opencode --model y
Screenshot and/or share link
Pressing no just terminates the program

Operating System
Linux nixos 6.12.77 #1-NixOS SMP PREEMPT_DYNAMIC Fri Mar 13 16:20:49 UTC 2026 x86_64 GNU/Linux
Terminal
Bash
Description
run
ollama launch opencode --model x, run a prompt and then runollama launch opencode --model y. Now opencode will always need model x installed. I removed:rm -rf /tmp/ollama-backups/rm -rf ~/.local/state/opencode/rm -rf ~/.config/opencode/Still requires. I've deleted all sessions as well, still required.
IDK if this is intentional but I really dont want to retain any data.
At max
ollama launch opencode --model xshould return to the last session I had with model x but never require me to have a model installed....Plugins
No response
OpenCode version
1.3.0
Steps to reproduce
Screenshot and/or share link
Pressing no just terminates the program

Operating System
Linux nixos 6.12.77 #1-NixOS SMP PREEMPT_DYNAMIC Fri Mar 13 16:20:49 UTC 2026 x86_64 GNU/Linux
Terminal
Bash