refactor: rename risky/safe agents to aggressive/conservative

This commit is contained in:
Yijia Xiao
2026-01-27 23:49:49 +00:00
parent a3761bdd66
commit 50961b2477
12 changed files with 99 additions and 99 deletions
+4 -4
View File
@@ -60,8 +60,8 @@ class ConditionalLogic:
state["risk_debate_state"]["count"] >= 3 * self.max_risk_discuss_rounds
): # 3 rounds of back-and-forth between 3 agents
return "Risk Judge"
if state["risk_debate_state"]["latest_speaker"].startswith("Risky"):
return "Safe Analyst"
if state["risk_debate_state"]["latest_speaker"].startswith("Safe"):
if state["risk_debate_state"]["latest_speaker"].startswith("Aggressive"):
return "Conservative Analyst"
if state["risk_debate_state"]["latest_speaker"].startswith("Conservative"):
return "Neutral Analyst"
return "Risky Analyst"
return "Aggressive Analyst"