fix: normalize completed Nemotron reviews
Browse filesCodex-authored final evidence-priority guard.
app.py
CHANGED
|
@@ -51,6 +51,9 @@ def run_audit(front_text: str, back_text: str):
|
|
| 51 |
}
|
| 52 |
try:
|
| 53 |
result.agent_review = nemotron_review(snapshot)
|
|
|
|
|
|
|
|
|
|
| 54 |
except Exception as exc:
|
| 55 |
result.agent_review = {
|
| 56 |
"status": "UNAVAILABLE",
|
|
|
|
| 51 |
}
|
| 52 |
try:
|
| 53 |
result.agent_review = nemotron_review(snapshot)
|
| 54 |
+
if result.agent_review.status == "COMPLETE" and not result.investigation.missing_evidence:
|
| 55 |
+
result.agent_review.priority = "No additional claim-resolving evidence is required."
|
| 56 |
+
result.agent_review.evidence_request = ""
|
| 57 |
except Exception as exc:
|
| 58 |
result.agent_review = {
|
| 59 |
"status": "UNAVAILABLE",
|