Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ class BasicAgent:
|
|
26 |
|
27 |
# Create agent
|
28 |
tools = [search_tool, weather_info_tool]
|
29 |
-
self.agent=
|
30 |
#= CodeAgent(
|
31 |
# tools=[weather_info_tool, search_tool],
|
32 |
# model=model,
|
|
|
26 |
|
27 |
# Create agent
|
28 |
tools = [search_tool, weather_info_tool]
|
29 |
+
self.agent= model.bind_tools(tools)
|
30 |
#= CodeAgent(
|
31 |
# tools=[weather_info_tool, search_tool],
|
32 |
# model=model,
|