DSH HUB
首页插件商店插件包社区排行榜资源发布指南
插件源码
返回插件目录

cslht11 /

cslht11/dsh-provider-config

仅 Topic 仓库

DSH (DeepSeek Harness) LLM 供应商配置模板与限流重试机制最佳实践(SenseNova 脱敏版)。Provider config templates + retry-policy best practices for DSH, sanitized.

★ 0 Stars1 Forks0 IssuesN/A 社区评分0 已确认安装
查看 GitHub
README来源: main@875aec24

DSH Provider Config

📖 中文版

Field-tested LLM provider configuration templates and rate-limit retry best practices for DeepSeek Harness (DSH). Currently focused on SenseNova (商汤 Token Plan), structured to extend to any OpenAI-compatible provider.

Why this project

DSH configures LLM providers via ~/.dsh/settings.yaml. The most critical — yet most overlooked — piece is retryPolicy. It decides:

  • Whether a task auto-recovers when hitting rate limits (HTTP 429 / RATE_LIMIT)
  • How long retries continue before giving up, and whether it can hang forever
  • Whether persistent provider failures surface an error you can actually diagnose

This project distills these settings into ready-to-use templates and explains what every parameter means and the tradeoffs.

Contents

Path Description
config/sensenova.yaml Ready-to-use SenseNova provider template (copy into ~/.dsh/settings.yaml)
docs/retry-policy.md Retry mechanics in depth: normal vs always, exponential backoff, jitter, retry-count tradeoffs
docs/troubleshooting.md Rate-limit troubleshooting: telling short bursts from persistent problems

Quick start

  1. Open the template: config/sensenova.yaml
  2. Read the retry mechanics: docs/retry-policy.md
  3. Copy what you need into your ~/.dsh/settings.yaml
  4. Restart DSH, and enjoy automatic retry on rate limits

Configuration template

See config/sensenova.yaml. The template contains no real API keys — keys are referenced exclusively through the environment variable SENSENOVA_API_KEY.

Retry policy at a glance

  • Recommended: mode: normal + maxRetries: 15 + retryableCodes: [RATE_LIMIT, TIMEOUT, SERVER, TRANSPORT]
  • Exponential backoff initialDelayMs → maxDelayMs with jitter to avoid thundering-herd
  • Full tradeoff analysis in docs/retry-policy.md

License

MIT — see LICENSE.

Security

This project never contains real API keys. Keys are referenced only by environment-variable name (e.g. SENSENOVA_API_KEY); templates contain nothing but the env-var name. See SECURITY.md.

—/ 5

暂无评分

需要先验证清单

Commit 875aec2404dd

社区评论

还没有评论,来写第一条。

DSH HUB

社区维护的 DSH 插件索引。不是 GitHub 或 DeepSeek AI 的官方产品。

社区资源API关于