minyang2020/dsh-migrate-on-429 ↗★ 0
@minyang2026/dsh-migrate-on-429
当会话持续触发 429 频率限制时,自动生成摘要并无缝迁移至新会话继续执行
AI 分析
核心用途是解决长上下文导致的 429 报错。适合频繁进行长对话、需要自动总结并交接任务以保持对话连续性的用户。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:minyang2020/dsh-migrate-on-429說明文件
閱讀完整 README ↗配置
配置文件 ~/.dsh/migrate-on-429.json(可在 Web 设置页「429 自动迁移」tab 里改;也可用环境变量 DSH_MIGRATE_ON_429_CONFIG 重定向到其它路径,便于测试/多 profile 隔离):
| 键 | 默认 | 说明 |
|---|---|---|
enabled | true | 主开关 |
quickOn | true | 对话框快捷开关(与主开关独立) |
migrateThreshold | 3 | 连续失败达到此数触发迁移(2–50) |
windowMs | 180000 | 请求级 429 滚动统计窗口(30s–1h) |
llmSummary | true | 尝试 LLM 精炼交接摘要(失败自动回退结构化) |
continueMessage | "continue" | 阈值前自动 continue 的消息内容 |