cinob/dsh-plugin-custom-provider-enhancer0

dsh-plugin-custom-provider-enhancer

DeepSeek Harness plugin that enhances custom provider setup by auto-discovering models and auto-populating contextWindow, maxTokens, vision, and reasoning capabilities from models.dev

AI 分析

核心用途是简化 DSH 自定义模型供应商的配置流程。适合需要频繁添加或管理第三方 API 供应商,并希望自动获取模型元数据的用户。

パッケージ
dsh-plugin-custom-provider-enhancer
バージョン
1.0.0
ライセンス
MIT
最終更新
2026/08/15

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:cinob/dsh-plugin-custom-provider-enhancer

ドキュメント

README 全文を読む ↗

⚙️ Configuration

Optional configuration in your cordis.yml or cordis.patch.yml:

plugins:
  custom-provider-enhancer:
    # Remote metadata catalog URL
    metadataUrl: https://raw.githubusercontent.com/BerriAI/litellm/main/model_prices_and_context_window.json
    # Request timeout in milliseconds (default: 5000ms)
    timeoutMs: 5000
    # In-memory cache TTL in milliseconds (default: 1 hour)
    cacheTtlMs: 3600000
    # Fallback context window when model is unknown (default: 128000)
    defaultContextWindow: 128000
    # Fallback max output tokens (default: 4096)
    defaultMaxTokens: 4096