CultriX commited on
Commit
7be8631
·
verified ·
1 Parent(s): fcc1236

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -299,7 +299,7 @@ async def multi_agent_conversation(task_message: str, log_queue: queue.Queue, ap
299
 
300
  next_agent = await dispatcher.determine_next_agent(context, api_key)
301
  if next_agent == "code_reviewer" and context.review_comments and "APPROVE" in [comment.get('issue',"").upper() for comment_list in context.review_comments for comment in comment_list.get("comments",[]) ]:
302
- next_agent = await dispatcher.determine_next_agent(context, api_key)
303
  # Check for maximum revisions
304
  if next_agent == "coder" and len([entry for entry in context.conversation_history if entry["agent"] == "Coder"]) > 5:
305
  log_queue.put("Maximum revision iterations reached. Exiting.")
 
299
 
300
  next_agent = await dispatcher.determine_next_agent(context, api_key)
301
  if next_agent == "code_reviewer" and context.review_comments and "APPROVE" in [comment.get('issue',"").upper() for comment_list in context.review_comments for comment in comment_list.get("comments",[]) ]:
302
+ next_agent = await dispatcher.determine_next_agent(context, api_key)
303
  # Check for maximum revisions
304
  if next_agent == "coder" and len([entry for entry in context.conversation_history if entry["agent"] == "Coder"]) > 5:
305
  log_queue.put("Maximum revision iterations reached. Exiting.")