Spaces:
Paused
Paused
debug
Browse files
app.py
CHANGED
|
@@ -89,6 +89,7 @@ def assistant(state: AgentState):
|
|
| 89 |
## The graph
|
| 90 |
builder = StateGraph(AgentState)
|
| 91 |
|
|
|
|
| 92 |
# Define nodes: these do the work
|
| 93 |
builder.add_node("assistant", assistant)
|
| 94 |
builder.add_node("tools", ToolNode(tools))
|
|
@@ -103,6 +104,6 @@ builder.add_conditional_edges(
|
|
| 103 |
)
|
| 104 |
builder.add_edge("tools", "assistant")
|
| 105 |
#alfred = builder.compile()
|
| 106 |
-
|
| 107 |
|
| 108 |
demo.launch()
|
|
|
|
| 89 |
## The graph
|
| 90 |
builder = StateGraph(AgentState)
|
| 91 |
|
| 92 |
+
"""
|
| 93 |
# Define nodes: these do the work
|
| 94 |
builder.add_node("assistant", assistant)
|
| 95 |
builder.add_node("tools", ToolNode(tools))
|
|
|
|
| 104 |
)
|
| 105 |
builder.add_edge("tools", "assistant")
|
| 106 |
#alfred = builder.compile()
|
| 107 |
+
"""
|
| 108 |
|
| 109 |
demo.launch()
|