use config values

This commit is contained in:
avimakk 2026-03-06 18:54:53 -05:00
parent f91ffc6508
commit 551db8d8c3
1 changed files with 2 additions and 2 deletions

View File

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