fix: pass max_debate_rounds and max_risk_discuss_rounds config to ConditionalLogic
This commit is contained in:
parent
f047f26df0
commit
f91ffc6508
|
|
@ -105,7 +105,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.get("max_debate_rounds", 1),
|
||||
max_risk_discuss_rounds=self.config.get("max_risk_discuss_rounds", 1),
|
||||
)
|
||||
self.graph_setup = GraphSetup(
|
||||
self.quick_thinking_llm,
|
||||
self.deep_thinking_llm,
|
||||
|
|
|
|||
Loading…
Reference in New Issue