Spaces:
Runtime error
Runtime error
Update pages/1_Simple-Gemini.py
Browse files- pages/1_Simple-Gemini.py +1 -1
pages/1_Simple-Gemini.py
CHANGED
@@ -142,7 +142,7 @@ def main():
|
|
142 |
)
|
143 |
return {"agent_outcome": action}
|
144 |
|
145 |
-
|
146 |
|
147 |
workflow.add_node("agent", run_agent)
|
148 |
workflow.add_node("action", execute_tools)
|
|
|
142 |
)
|
143 |
return {"agent_outcome": action}
|
144 |
|
145 |
+
workflow = StateGraph(AgentState)
|
146 |
|
147 |
workflow.add_node("agent", run_agent)
|
148 |
workflow.add_node("action", execute_tools)
|