From 4a92c324a56882b4f216c1094e0450ab29ed5459 Mon Sep 17 00:00:00 2001 From: Taylor Mao Date: Mon, 21 Jul 2025 21:40:27 -0400 Subject: [PATCH] fix: make DEPTH_OPTIONS change debate/risk_discuss round numbers as described in the title --- tradingagents/graph/trading_graph.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tradingagents/graph/trading_graph.py b/tradingagents/graph/trading_graph.py index 80a29e53..bc5e4a5c 100644 --- a/tradingagents/graph/trading_graph.py +++ b/tradingagents/graph/trading_graph.py @@ -83,7 +83,10 @@ class TradingAgentsGraph: self.tool_nodes = self._create_tool_nodes() # Initialize components - self.conditional_logic = ConditionalLogic() + self.conditional_logic = ConditionalLogic( + max_debate_rounds=self.config["max_debate_rounds"], + max_risk_discuss_rounds=self.config["max_risk_discuss_rounds"] + ) self.graph_setup = GraphSetup( self.quick_thinking_llm, self.deep_thinking_llm,