Spaces:
Sleeping
Sleeping
Update agent.py
Browse files
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.
|
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()
|