AC-Angelo93 commited on
Commit
3d8826e
·
verified ·
1 Parent(s): 5020b4e

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +1 -1
agent.py CHANGED
@@ -139,7 +139,7 @@ def build_graph(provider: str = "huggingface") -> Graph:
139
  wiki_search,
140
  arxiv_search, # add more tools here
141
  ]
142
- llm_with_tools = llm.with_tools(tools)
143
 
144
  # 2c) Compose your graph
145
  graph = Graph()
 
139
  wiki_search,
140
  arxiv_search, # add more tools here
141
  ]
142
+ llm_with_tools = llm.bind_tools(tools)
143
 
144
  # 2c) Compose your graph
145
  graph = Graph()