ZeroTimo commited on
Commit
130522b
·
verified ·
1 Parent(s): 9b6ad5a

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +1 -1
agent.py CHANGED
@@ -178,7 +178,7 @@ graph.add_edge(START, "planner")
178
  graph.add_conditional_edges("planner", route, {"tools": "tools", "END": END})
179
 
180
  # compile → LangGraph-Executor
181
- agent_executor = graph.compile(max_iterations=8)
182
 
183
  # ---------------------------------------------------------------------
184
  # 8) Öffentliche Klasse – wird von app.py / logic.py verwendet
 
178
  graph.add_conditional_edges("planner", route, {"tools": "tools", "END": END})
179
 
180
  # compile → LangGraph-Executor
181
+ agent_executor = graph.compile()
182
 
183
  # ---------------------------------------------------------------------
184
  # 8) Öffentliche Klasse – wird von app.py / logic.py verwendet