Solution ready for publishing: update agent.py
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user