dsh-pin-default-model:固定 DSH 新会话默认模型
DSH 在会话内切换模型时会通过 agentDefaultModel.saveSelection 将选择写回进程默认,导致新建会话继承上次选择而非配置默认值。dsh-pin-default-model 由 SunspotAlgo 维护,替换 saveSelection 以锁定 pin,会话内换模不受影响,新会话仍从 Settings 或 cordis.patch.yml 配置的模型启动。支持图形界面与手工配置,要求 DSH>=0.2.1、Node>=22,MIT 许可。安装:应用内搜索插件或执行 dsh plugin --profile web add dsh-pin-default-model。
阅读全文