Repository navigation
[Bug / patch available] Switching models resets the last reasoning effort / 切换模型后推理强度被重置 #10597
kermars39-web
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Summary / 问题
在 DeepSeek Harness 0.2.1-rc.2 中,为模型选择推理强度后,切换到另一模型再切回来,会恢复模型目录的默认值,而不是该模型上次选择的值。希望原生 composer 模型菜单与
/model都能按 provider/model 记住上次成功选择。Selecting a reasoning effort for model A, switching to B and back to A resets A to its catalog default instead of its last selection. This is a user-preference recall request, not a request to carry A's effort blindly to B.
Reproduction
/model.Expected: restore that provider/model's last successful supported choice; use the provider default for an unseen model or when the remembered capability is no longer available. Explicit effort changes must continue to work, and failed selections must not overwrite confirmed preferences.
Patch available / 已有修复分支
The patch keeps browser-local preferences on the model-directory resolver, shares restoration between both native entries, validates against current advertised capabilities, and only remembers successful choices. It includes regression tests and the English/Chinese README pair. Maintainers are welcome to review or cherry-pick it, or suggest a preferred implementation.
Tradeoff: recall uses localStorage and is limited to the same browser/origin; it is not cross-browser synchronization. No Session format, credential or permission changes.
Verification
pnpm run test:gui --maxWorkers=2).test:webwas not run under the local browser-launch restrictions. Automated tests do not establish full UI acceptance.Why a Discussion instead of a PR
I attempted to open the existing fork branch against
deepseek-ai/deepseek-harness:master, but GitHub returnedkermars39-web does not have the correct permissions to execute CreatePullRequest. No PR was created. Issues are disabled, so I am posting here through the enabled Discussions channel rather than changing identity or permissions. Please advise on the preferred contribution route.Related but distinct: #9345 asks for pi-ai per-model default configuration; this report concerns restoring a user's last native-picker choice. The separately owned Codex speed-persistence fix has already been submitted to the subscription plugin upstream: V1ki/dsh-plugin-subscriptions#162 .
All reactions