DeepseekDays/dsh-ofm-addition ↗★ 0
dsh-ofm-addition
自动发送继续与逐模型参数调整 适合需要解决长文本截断并精细调整模型请求参数的用户。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:DeepseekDays/dsh-ofm-addition说明文档
阅读完整 README ↗配置
存三份 JSON,都在 $DSH_HOME(默认 ~/.dsh)下:
ofm-addition/settings.json—— 设置页写的那些字段ofm-addition/stats.json—— 计数与最近 60 条决策记录ofm-addition/params.json—— 逐模型参数表:{ version, scope, entries: { 'provider|model': {...} }, ai }
params.json 是可以在 profile 里预置的:
也可以在 ~/.dsh/profiles/desktop/cordis.patch.yml 里给这一行挂初始值(文件里的值
优先):
- id: ofm-addition
name: dsh-ofm-addition
config:
maxContinuations: 0 # 0 = 不限
contextGuard: true # 不限时唯一的刹车,别关
contextRatio: 0.9
providers: ['our-free-model*']
# 逐模型参数的初始值;文件里已有的值优先(页面里改过的以页面为准)
modelParams:
scope: ['our-free-model*']
entries:
'our-free-model|space-bunny-free':
enabled: true
effort: deep # 必须是该模型声明过的档位
maxTokens: 32768
temperature: null # null = 模型默认
stop: []
ai:
provider: '' # 留空 = 用当前默认模型
model: ''
maxTokens: 4096