Skip to content

Commit 9324c9d

Browse files
committed
use set_finish_point instead
1 parent 6d438e5 commit 9324c9d

File tree

1 file changed

+2
-2
lines changed
  • template_langgraph/agents/issue_formatter_agent

1 file changed

+2
-2
lines changed

template_langgraph/agents/issue_formatter_agent/agent.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from langgraph.graph import END, StateGraph
1+
from langgraph.graph import StateGraph
22

33
from template_langgraph.agents.issue_formatter_agent.models import AgentState, Issue
44
from template_langgraph.llms.azure_openais import AzureOpenAiWrapper
@@ -21,7 +21,7 @@ def create_graph(self):
2121

2222
# Create edges
2323
workflow.set_entry_point("analyze")
24-
workflow.add_edge("analyze", END)
24+
workflow.set_finish_point("analyze")
2525

2626
# Compile the graph
2727
return workflow.compile(

0 commit comments

Comments
 (0)