fix: make DEPTH_OPTIONS change debate/risk_discuss round numbers

as described in the title
This commit is contained in:
Taylor Mao 2025-07-21 21:40:27 -04:00
parent 8df223b2b6
commit 4a92c324a5
1 changed files with 4 additions and 1 deletions

View File

@ -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,