Spaces:
Sleeping
Sleeping
Killian Mahé
commited on
Commit
·
b5953b6
1
Parent(s):
72f2f08
Upload agent
Browse files
agent.py
CHANGED
|
@@ -38,7 +38,7 @@ builder.add_node("init", init_step)
|
|
| 38 |
builder.add_node("tools", ToolNode(available_tools))
|
| 39 |
|
| 40 |
builder.add_edge(START, "init")
|
| 41 |
-
builder.add_edge("
|
| 42 |
builder.add_conditional_edges("assistant", tools_condition)
|
| 43 |
|
| 44 |
builder.add_edge("tools", "assistant")
|
|
|
|
| 38 |
builder.add_node("tools", ToolNode(available_tools))
|
| 39 |
|
| 40 |
builder.add_edge(START, "init")
|
| 41 |
+
builder.add_edge("init", "assistant")
|
| 42 |
builder.add_conditional_edges("assistant", tools_condition)
|
| 43 |
|
| 44 |
builder.add_edge("tools", "assistant")
|