aparnavellala commited on
Commit
8c71daf
·
verified ·
1 Parent(s): 8204451

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -5
app.py CHANGED
@@ -185,11 +185,10 @@ def supervisor_chain(state):
185
 
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
- # except Exception as e:
191
- # print(f"[ERROR] Supervisor chain failed: {e}")
192
- # raise RuntimeError(f"Supervisor logic error: {str(e)}")
193
 
194
 
195
 
 
185
 
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
+ except Exception as e:
190
+ print(f"[ERROR] Supervisor chain failed: {e}")
191
+ raise RuntimeError(f"Supervisor logic error: {str(e)}")
 
192
 
193
 
194