rdisipio commited on
Commit
9e81a16
·
1 Parent(s): 5ec0b46

adding tools

Browse files
Files changed (1) hide show
  1. agent.py +3 -2
agent.py CHANGED
@@ -1,10 +1,11 @@
1
  from smolagents import (
2
- CodeAgent, InferenceClientModel,
3
  DuckDuckGoSearchTool
4
  )
5
 
6
  # Initialize the Hugging Face model
7
- model = InferenceClientModel()
 
8
 
9
  tools = [
10
  DuckDuckGoSearchTool(),
 
1
  from smolagents import (
2
+ CodeAgent, InferenceClientModel, HfApiModel,
3
  DuckDuckGoSearchTool
4
  )
5
 
6
  # Initialize the Hugging Face model
7
+ # model = InferenceClientModel()
8
+ model = HfApiModel()
9
 
10
  tools = [
11
  DuckDuckGoSearchTool(),