JuwanXu/dsh-camel0

dsh-camel

为 DeepSeek Harness 免费模型频控限制设计的、可配置的主动限速与可见接管重试插件。

AI 分析

核心用途是应对 DSH 免费模型的速率限制(Rate Limit)。通过主动限速和自动重试机制,避免请求因超频失败。适合频繁使用免费模型、需要保证任务执行连续性的用户。

套件
dsh-camel
版本
0.1.2
授權
MIT
最近更新
2026年8月25日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:JuwanXu/dsh-camel

Global configuration

After installing the bundle, override its camel row in the profile's cordis.patch.yml:

- id: camel
  config:
    defaults:
      throttle:
        enabled: false
        maxRequests: 20
        windowMs: 60000
        scope: route
      retry:
        enabled: true
        mode: unlimited
        fallbackDelayMs: 60000

Task policy always has higher priority:

task session override > plugin defaults > built-in values

A launcher, preset, or another plugin can inject a one-task policy:

ctx.camel.setTaskConfig(agent, {
  retry: { enabled: true },
})

The override is persisted as a camel/config session event and survives resume and fork.