缓存的旧models无法删除,导致无法使用。 #5218

Closed
opened 2026-02-16 17:50:06 -05:00 by yindo · 0 comments
Owner

Originally created by @extirpate on GitHub (Jan 13, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

使用两三天后,修改了opencode.json的文件,期间有过几次版本升级。终于把opencode.json改好了,可以实现思维模式了。发现在特定目录以及其新建的子目录中,输入opencode,启动后的模型列表都是旧的。 也尝试过通过ai辅助,删掉了state文件,cache文件等,甚至卸载重新安装了 opencode cli/desktop,仍然还是出现旧的模型列表,无法加载新的模型列表,导致不能使用。

Plugins

oh-my-opencode

OpenCode version

1.1.16

Steps to reproduce

我也不知道是怎样导致的,所以比较麻烦。

Screenshot and/or share link

No response

Operating System

macos 26.1

Terminal

iterm2

Originally created by @extirpate on GitHub (Jan 13, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description 使用两三天后,修改了opencode.json的文件,期间有过几次版本升级。终于把opencode.json改好了,可以实现思维模式了。发现在特定目录以及其新建的子目录中,输入opencode,启动后的模型列表都是旧的。 也尝试过通过ai辅助,删掉了state文件,cache文件等,甚至卸载重新安装了 opencode cli/desktop,仍然还是出现旧的模型列表,无法加载新的模型列表,导致不能使用。 ### Plugins oh-my-opencode ### OpenCode version 1.1.16 ### Steps to reproduce 我也不知道是怎样导致的,所以比较麻烦。 ### Screenshot and/or share link _No response_ ### Operating System macos 26.1 ### Terminal iterm2
yindo added the bug label 2026-02-16 17:50:06 -05:00
yindo closed this issue 2026-02-16 17:50:06 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#5218