OldLigant/dsh-auto-review-model-router ↗★ 0

dsh-auto-review-model-router

将自动审查请求路由至更便宜的模型 适合希望降低自动安全审查成本、将审查调用重定向到廉价模型的用户。

包名
dsh-auto-review-model-router
兼容性
待验证
版本
0.2.0
许可证
MIT
最近更新
2026年10月12日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:OldLigant/dsh-auto-review-model-router

Configuration

FieldDefaultMeaning
reviewModeldeepseek-official/deepseek-flash`
/` every review runs on. An empty string disables routing.
systemPromptPatternsthe shipped REVIEW_POLICY openingSubstrings, or /regex/u literals, matched against a request's system prompt. Widen this only if a harness release rewrites that prompt.
retryAttempts4Retries after the first attempt of one review call, so up to 5 attempts. 0 disables retrying. Maximum 10.
retryDelayMs500Pause before each retry.
wrapPrepareCalltrueAlso route review requests issued through llm.prepareCall.
dropReasoningEfforttrueDrop the source route's reasoning effort on the review request.
dropMaxTokenstrueDrop the source route's output cap on the review request.
logRetargetstrueLog each retargeted review. Retries log a warning regardless.