← 返回列表
D

@ztlovelsw/dsh-model-profile

v0.2.0 · 2 天前发布

DSH Web GUI 模型能力配置:在「设置 → 模型」的模型目录编辑器内,为每个已配置的模型直接设置是否支持图像与思考等级(reasoning efforts),写入 llm-pi-ai 设置命名空间。

dshdsh-plugindsh-webmodel-profilereasoning-efforts

README

dsh-model-profile · 模型能力配置(图像 + 思考等级)

![dsh-plugin](https://github.com/topics/dsh-plugin)

「设置 → 模型」 的模型目录编辑器里,每个已配置模型的行内直接加两个官方编辑器没有的控件:

  • 是否支持图像:继承默认 / 支持图像(input: ['text','image'])/ 仅文本(input: ['text'])。

  • 思考等级:继承默认 / 不支持思考(reasoningEfforts: false)/ 自定义等级

  • off / minimal / low / medium / high / xhigh / max,逐级勾选并填写接口取值)。

    控件块标题行有 「按 models.dev 预设」 按钮:按模型 ID 查询
    models.dev 开放数据库(自动去掉网关前缀并容忍 -high / -medium
    等思考档后缀,一方厂商条目优先),命中后自动写入该模型的图像支持
    modalities.input)、思考等级(reasoning_options 枚举,noneoff 且取值为空)
    与容量上限(limit.context / limit.output → 官方行内的「上下文窗口 / 最大输出
    token」输入框);models.dev 没有意见的字段保持原值不动。

    新添加的模型自动按 models.dev 预设:通过「获取可用模型 / 添加模型」新增的行
    在保存前就会显示

    查看完整 README →

    版本兼容矩阵

    DSH 版本状态说明
    dsh@0.1.0-rc.6 ✅ 兼容 cordis patch ✅
    dsh@0.1.0 ✅ 兼容 标准 patch ✅
    dsh@0.2.0 ⚠️ 待验证 待实测(API 可能在变)
    dsh@0.3.0+ ❓ 未知 尚未发布

    💡 兼容矩阵每周末自动跑实测,欢迎 PR 修正

    元数据

    License
    BSD-3-Clause
    npm
    @ztlovelsw/dsh-model-profile
    Repo
    git+https://github.com/ztlovelsw/dsh-model-profile.git
    Engines
    {"node":"^22.19.0 || >=24.0.0"}
    Weekly DL
    0
    Monthly DL
    0
    dsh.bundle
    {"bundle":{"patch":"./cordis.patch.yml"},"client":{"inject":["@deepseek-ai/dsh-client-runtime","@deepseek-ai/dsh-client-connection","@deepseek-ai/dsh-client-locale"],"platform":"web"}}