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

dsh-auto-review-model-router

Route DSH's experimental auto-review safety reviewer to a cheaper model: every review call is re-targeted to a configured provider/model while the agent's own route is untouched. 适合希望降低自动安全审查成本、将审查调用重定向到廉价模型的用户。

패키지
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.