Botched: Need to do a higher reaosning model to fix this mess.

This commit is contained in:
2026-03-04 12:32:14 -05:00
parent 8d3fdb53d0
commit 01b3c26653
18 changed files with 180 additions and 132 deletions

View File

@@ -103,9 +103,10 @@ class WorkflowSimulator:
print(f"\n[DEBUG] {elapsed:.1f}s - status: '{status}', roles: {roles}")
last_debug_time = elapsed
if "error" in status:
print(f"\n[ABORT] GUI reported error status: {status}")
return last_ai_entry if last_ai_entry else {"role": "AI", "content": f"ERROR: {status}"}
if "error" in status:
resp = self.client.get_value("ai_response")
print(f"\n[ABORT] GUI reported error status: {status} | AI Response: {resp}")
return last_ai_entry if last_ai_entry else {"role": "AI", "content": f"ERROR: {status}"}
# Turn completion logic:
# 1. Transition: we were busy and now we are not, and the last role is AI.