Spaces:
Runtime error
Runtime error
Update agent.py
Browse files
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(
|
| 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
|