Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -186,13 +186,14 @@ def supervisor_chain(state):
|
|
| 186 |
print(f"[DEBUG] Next action decided: {next_action}") # Log decision
|
| 187 |
return {"next": next_action, "messages": messages, "intermediate_steps": state["intermediate_steps"]}
|
| 188 |
"""
|
| 189 |
-
|
| 190 |
-
|
|
|
|
| 191 |
except Exception as e:
|
| 192 |
print(f"[ERROR] Supervisor chain failed: {e}")
|
| 193 |
raise RuntimeError(f"Supervisor logic error: {str(e)}")
|
| 194 |
|
| 195 |
-
|
| 196 |
|
| 197 |
|
| 198 |
|
|
|
|
| 186 |
print(f"[DEBUG] Next action decided: {next_action}") # Log decision
|
| 187 |
return {"next": next_action, "messages": messages, "intermediate_steps": state["intermediate_steps"]}
|
| 188 |
"""
|
| 189 |
+
print(f"[DEBUG] Next action decided: {next_action}") # Log decision
|
| 190 |
+
return {"next": next_action, "messages": messages}
|
| 191 |
+
|
| 192 |
except Exception as e:
|
| 193 |
print(f"[ERROR] Supervisor chain failed: {e}")
|
| 194 |
raise RuntimeError(f"Supervisor logic error: {str(e)}")
|
| 195 |
|
| 196 |
+
|
| 197 |
|
| 198 |
|
| 199 |
|