You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[DOCS] Judge mode page: decisions backend and the offline decision-model example #1090
PR inference-gateway/cli#1691 adds a decision-model judge behind judge.yaml backend: decisions. The judge asks the gateway POST /v1/decisions endpoint and thresholds p(approve) at judge.min_confidence (default 0.7) instead of parsing a generative verdict. New user-facing surface: the backend and min_confidence config keys, the INFER_JUDGE_BACKEND and INFER_JUDGE_MIN_CONFIDENCE env overrides, the DECISIONS_ENABLED=true gateway requirement, and the offline ollama/clef decision-model example in the cli examples/working-offline directory (hosted variant ollama_cloud/clef:27b).
Acceptance Criteria
The judge mode page documents the decisions backend, min_confidence, the fail-closed threshold semantics, and the reason text the agent sees on a rejection
The configuration reference lists judge.yaml backend and min_confidence and both env overrides
The gateway requirement is captured: the gateway must run with DECISIONS_ENABLED=true and the model must list decisions among its output modalities
The offline example (ollama pull clef with the working-offline compose) and the hosted ollama_cloud/clef:27b variant are described
Read cli-judge-mode.md and the upstream CLI surface (judge mode doc + working-offline README)
Documented the decisions backend, min_confidence, fail-closed threshold semantics, and the rejection reason text
Added backend / min_confidence to the judge.yaml example and field table, plus INFER_JUDGE_BACKEND and INFER_JUDGE_MIN_CONFIDENCE to the env overrides
Captured the gateway requirement (DECISIONS_ENABLED=true, decisions output modality) with links to the Decisions API reference
Described the offline ollama pull clef walkthrough and the hosted ollama_cloud/clef:27b variant
Validated: bun run lint:md, bun run format:check, bun run build all pass
All changes are in cli-judge-mode.md. DECISIONS_ENABLED is already covered by the generated configuration reference, so configuration.md needed no edit. I also scoped the existing JSON verdict contract section to the llm backend and noted that system_prompt / max_tokens do not apply to the decisions backend.
Skipped: the upstream page also describes per-batch judging of multiple pending calls ({action} expanding to several <tool_call id="..."> blocks), which this page still documents as one call per gate - that is a separate change outside this ticket's scope.
| Branch
Activity
edenreich commentedon Nov 4, 2026
@claude can you document this?
inference-gateway-maintainer commentedon Nov 4, 2026
Claude finished @edenreich's task in 3m 37s —— View job •
docs/issue-1090-20261104-1218• [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-1090-20261104-1218?quick_pull=1&title=Issue%20%231090%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%231090%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)Documented
cli-judge-mode.mdand the upstream CLI surface (judge mode doc +working-offlineREADME)decisionsbackend,min_confidence, fail-closed threshold semantics, and the rejection reason textbackend/min_confidenceto thejudge.yamlexample and field table, plusINFER_JUDGE_BACKENDandINFER_JUDGE_MIN_CONFIDENCEto the env overridesDECISIONS_ENABLED=true,decisionsoutput modality) with links to the Decisions API referenceollama pull clefwalkthrough and the hostedollama_cloud/clef:27bvariantbun run lint:md,bun run format:check,bun run buildall passAll changes are in
cli-judge-mode.md.DECISIONS_ENABLEDis already covered by the generated configuration reference, soconfiguration.mdneeded no edit. I also scoped the existing JSON verdict contract section to thellmbackend and noted thatsystem_prompt/max_tokensdo not apply to the decisions backend.PR: #1091
Skipped: the upstream page also describes per-batch judging of multiple pending calls (
{action}expanding to several<tool_call id="...">blocks), which this page still documents as one call per gate - that is a separate change outside this ticket's scope.| Branch
inference-gateway-releaser commentedon Nov 8, 2026
🎉 This issue has been resolved in version 0.9.24 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀