wt002 commited on
Commit
44e4111
·
verified ·
1 Parent(s): 4d7cf23

Update agent.py

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