wt002 commited on
Commit
4d7cf23
·
verified ·
1 Parent(s): 287fae2

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +1 -0
agent.py CHANGED
@@ -1139,6 +1139,7 @@ def build_graph(vector_store, provider: str, model_config: dict) -> StateGraph:
1139
 
1140
 
1141
  # call build_graph AFTER it’s defined
 
1142
  agent = graph
1143
 
1144
  # Now you can use the agent like this:
 
1139
 
1140
 
1141
  # call build_graph AFTER it’s defined
1142
+ graph = build_graph()
1143
  agent = graph
1144
 
1145
  # Now you can use the agent like this: