Spaces:
Runtime error
Runtime error
Update agent.py
Browse files
agent.py
CHANGED
|
@@ -245,7 +245,7 @@ def build_graph(provider: str = "openai"):
|
|
| 245 |
# After tools execute, return to assistant for response generation
|
| 246 |
builder.add_edge("tools", "assistant")
|
| 247 |
|
| 248 |
-
builder.add_finish_point(END) # Explicitly declare END as finish point
|
| 249 |
return builder.compile()
|
| 250 |
|
| 251 |
|
|
|
|
| 245 |
# After tools execute, return to assistant for response generation
|
| 246 |
builder.add_edge("tools", "assistant")
|
| 247 |
|
| 248 |
+
# builder.add_finish_point(END) # Explicitly declare END as finish point
|
| 249 |
return builder.compile()
|
| 250 |
|
| 251 |
|