Spaces:
Sleeping
Sleeping
fix: bound Nemotron evidence requests
Browse filesCodex-authored deterministic review boundary.
app.py
CHANGED
|
@@ -52,7 +52,8 @@ def run_audit(front_text: str, back_text: str):
|
|
| 52 |
}
|
| 53 |
try:
|
| 54 |
result.agent_review = AgentReview.model_validate(nemotron_review(snapshot))
|
| 55 |
-
if
|
|
|
|
| 56 |
result.agent_review.priority = "No additional claim-resolving evidence is required."
|
| 57 |
result.agent_review.evidence_request = ""
|
| 58 |
except Exception as exc:
|
|
|
|
| 52 |
}
|
| 53 |
try:
|
| 54 |
result.agent_review = AgentReview.model_validate(nemotron_review(snapshot))
|
| 55 |
+
if not result.investigation.missing_evidence:
|
| 56 |
+
result.agent_review.status = "COMPLETE"
|
| 57 |
result.agent_review.priority = "No additional claim-resolving evidence is required."
|
| 58 |
result.agent_review.evidence_request = ""
|
| 59 |
except Exception as exc:
|