Make code lookup mandatory in between investigation steps for better results

This commit is contained in:
Fahad
2025-06-19 17:42:41 +04:00
parent 79abb9ca7e
commit 7900fdd21c
8 changed files with 108 additions and 33 deletions

View File

@@ -537,10 +537,8 @@ RuntimeError: dictionary changed size during iteration
self.logger.error("Missing investigation_status in response")
return False
# Check output guidance exists
if "output" not in response_data:
self.logger.error("Missing output guidance in response")
return False
# Output field removed in favor of contextual next_steps
# No longer checking for "output" field as it was redundant
# Check next_steps guidance
if not response_data.get("next_steps"):