Spaces:
Paused
Paused
builder
Browse files
app.py
CHANGED
|
@@ -94,7 +94,6 @@ def assistant(state: AgentState):
|
|
| 94 |
## The graph
|
| 95 |
builder = StateGraph(AgentState)
|
| 96 |
|
| 97 |
-
"""
|
| 98 |
# Define nodes: these do the work
|
| 99 |
builder.add_node("assistant", assistant)
|
| 100 |
builder.add_node("tools", ToolNode(tools))
|
|
@@ -109,6 +108,6 @@ builder.add_conditional_edges(
|
|
| 109 |
)
|
| 110 |
builder.add_edge("tools", "assistant")
|
| 111 |
#alfred = builder.compile()
|
| 112 |
-
|
| 113 |
|
| 114 |
demo.launch()
|
|
|
|
| 94 |
## The graph
|
| 95 |
builder = StateGraph(AgentState)
|
| 96 |
|
|
|
|
| 97 |
# Define nodes: these do the work
|
| 98 |
builder.add_node("assistant", assistant)
|
| 99 |
builder.add_node("tools", ToolNode(tools))
|
|
|
|
| 108 |
)
|
| 109 |
builder.add_edge("tools", "assistant")
|
| 110 |
#alfred = builder.compile()
|
| 111 |
+
|
| 112 |
|
| 113 |
demo.launch()
|