From 551db8d8c3eb74f17992e0b2e971fe0253700737 Mon Sep 17 00:00:00 2001 From: avimakk Date: Fri, 6 Mar 2026 18:54:53 -0500 Subject: [PATCH] use config values --- tradingagents/graph/trading_graph.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tradingagents/graph/trading_graph.py b/tradingagents/graph/trading_graph.py index 6e0cad6b..7944e5f5 100644 --- a/tradingagents/graph/trading_graph.py +++ b/tradingagents/graph/trading_graph.py @@ -106,8 +106,8 @@ class TradingAgentsGraph: # Initialize components self.conditional_logic = ConditionalLogic( - max_debate_rounds=self.config.get("max_debate_rounds", 1), - max_risk_discuss_rounds=self.config.get("max_risk_discuss_rounds", 1), + 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,