zhangyqjiaoshou-oss/dsh-model-sync1

@dsh-external/dsh-model-sync

用于 DeepSeek Harness 提供商的一键/自动模型同步:将存储的模型列表与每个提供商的 /v1/models 接口进行比对,支持设置页开关和打开对话时自动同步。

AI 分析

核心用途是自动或一键刷新 DSH 服务商的模型列表,保持与 API 接口同步。适合使用第三方大模型通道、需要自动获取最新上线模型的用户。支持配置防抖时间。

套件
@dsh-external/dsh-model-sync
版本
1.0.0
授權
MIT
最近更新
2026年8月29日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:zhangyqjiaoshou-oss/dsh-model-sync

Usage

  1. Open Settings → Model Sync.
  2. Click Sync All Models to sync immediately, or turn on Auto-sync on conversation open to refresh the model list every time you open a conversation page.
  3. Each provider reports ✅ N total (+added -removed); failures show with the reason.

Configuration

FieldTypeDefaultDescription
autoSyncbooleanfalseAuto-sync model lists whenever a conversation page opens
debounceMsnumber10000Minimum milliseconds between two automatic syncs

The auto-sync switch can also be toggled in the Settings UI; changes are written to the model-sync namespace.