beimianism/Hermeslike-Mixagent-MoA ↗★ 1
hermeslike-moa
DSH plugin — Hermes-style Mixture-of-Agents request aggregator: router → parallel reference advisors → aggregator stream, with dual-provider failover (official + OpenCode Go) and V4P triple-gate cost guard.
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:beimianism/Hermeslike-Mixagent-MoA说明文档
阅读完整 README ↗配置(组合 base 层)
以下字段在 cordis.patch.yml 插件行 config: 中作为默认值;用户设置覆盖它们:
| 配置 | 默认 | 说明 |
|---|---|---|
apiKeyEnv / DEEPSEEK_API_KEY | DEEPSEEK_API_KEY | DeepSeek 官方 key 的环境变量引用 |
goApiKeyEnv / OPENCODE_GO_API_KEY | OPENCODE_GO_API_KEY | OpenCode Go key 引用(留空禁用 Go 通道) |
endpoint | https://api.deepseek.com/chat/completions | 官方端点 |
goEndpoint | https://opencode.ai/zen/go/v1/chat/completions | Go 端点(pi-ai catalog 的 opencode-go 真实地址) |
enabled | true | 总开关 |
ratio | 0.5 | V4P 前瞻预算池比例(F×ratio−P) |
windowMs | 3600000 | 记账滚动窗口 |
refCount | 3 | 参考顾问数量 |
refTemps | [0.5,0.8,1.1] | 各参考温度 |
aggregatorModel | auto | 聚合模型(auto/flash/pro) |
referenceReasoningEffort | auto | 参考顾问思考强度(off/high/max/auto) |
aggregatorReasoningEffort | auto | 聚合模型思考强度(off/high/max/auto) |
fanout | user_turn | 参考扇出节奏(user_turn/per_iteration) |
showProgress | true | 思考区显示 MoA 进度 |
preferGo | true | 优先 Go 通道 |
fallbackToFlash | true | 闸门拦截 V4P 时降级 V4F |
minBudgetMultiple | 3 | 闸门:预算倍数 |
maxProPerWindow | 3 | 闸门:窗口内 V4P 次数上限 |
minProIntervalMs | 900000 | 闸门:最小间隔 |
privacyFilter | display | 参考输出脱敏(display/full) |
示例:
- insert:
- id: hermeslike-moa
name: 'hermeslike-moa'
config:
apiKeyEnv: DEEPSEEK_API_KEY
goApiKeyEnv: OPENCODE_API_KEY
ratio: 0.5
refCount: 3