use config values
This commit is contained in:
parent
f91ffc6508
commit
551db8d8c3
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue