refactor: rename risky/safe agents to aggressive/conservative

This commit is contained in:
Yijia Xiao committed 2026-02-03 22:27:20 +00:00
1 parent a3761bdd66
commit 50961b2477
12 files changed
+99 -99

No files matched your search

+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"