Solution ready for publishing: update agent.py

This commit is contained in:
2026-06-02 09:50:33 +00:00
parent c7beff7aae
commit fff2df21d5
+1 -1
View File
@@ -50,7 +50,7 @@ workflow = StateGraph(State)
workflow.add_node("agent", agent) workflow.add_node("agent", agent)
# Removed set_entry_point call # Removed set_entry_point call
workflow.add_edge(START, "agent") workflow.add_edge(START, "agent")
workflow.add_edge("agent", START) # removed edge to avoid START as end node
graph = workflow.compile() graph = workflow.compile()
# CLI helper # CLI helper