Gorantla Krishna commited on
Commit
7ef2cc7
·
1 Parent(s): 7864f36
src/langgraphagenticai/graph/graph_builder.py CHANGED
@@ -51,8 +51,8 @@ class GraphBuilder:
51
 
52
  # Define direct and conditional edges
53
  self.graph_builder.add_edge(START,"chatbot")
54
- self.graph_builder.add_edge("chatbot",tools_condition)
55
- self.graph_builder.add_edge("tools",END)
56
 
57
 
58
  def setup_graph(self,usecase:str):
 
51
 
52
  # Define direct and conditional edges
53
  self.graph_builder.add_edge(START,"chatbot")
54
+ self.graph_builder.add_edge("chatbot",tools_condition)
55
+ self.graph_builder.add_edge("tools","chatbot")
56
 
57
 
58
  def setup_graph(self,usecase:str):