TradingAgents: Multi-Agents LLM Financial Trading Framework
fix: initialize all debate state fields in propagation.py
Yijia-Xiaoeec6ca4b53ee
diff --git a/tradingagents/graph/propagation.py b/tradingagents/graph/propagation.pyindex 7aba5258a..0fd10c0c3 100644--- a/tradingagents/graph/propagation.py+++ b/tradingagents/graph/propagation.py@@ -24,14 +24,26 @@ class Propagator:"company_of_interest": company_name,"trade_date": str(trade_date),"investment_debate_state": InvestDebateState(- {"history": "", "current_response": "", "count": 0}+ {+ "bull_history": "",+ "bear_history": "",+ "history": "",+ "current_response": "",+ "judge_decision": "",+ "count": 0,+ }),"risk_debate_state": RiskDebateState({+ "aggressive_history": "",+ "conservative_history": "",+ "neutral_history": "","history": "",+ "latest_speaker": "","current_aggressive_response": "","current_conservative_response": "","current_neutral_response": "",+ "judge_decision": "","count": 0,}),