davemasino commited on
Commit
2d72fb6
·
verified ·
1 Parent(s): 8e432bb

Upload agent

Browse files
Files changed (3) hide show
  1. agent.json +10 -10
  2. app.py +2 -2
  3. requirements.txt +1 -1
agent.json CHANGED
@@ -10,9 +10,9 @@
10
  "model": {
11
  "class": "LiteLLMModel",
12
  "data": {
13
- "last_input_token_count": 14624,
14
- "last_output_token_count": 139,
15
- "model_id": "gemini/gemini-2.0-flash-001",
16
  "api_base": null
17
  }
18
  },
@@ -49,17 +49,17 @@
49
  "duckduckgo_search"
50
  ],
51
  "authorized_imports": [
52
- "datetime",
53
- "itertools",
54
  "re",
55
- "stat",
56
- "statistics",
57
  "time",
58
- "queue",
59
  "random",
 
 
60
  "math",
61
- "unicodedata",
62
- "collections"
 
63
  ],
64
  "executor_type": "local",
65
  "executor_kwargs": {},
 
10
  "model": {
11
  "class": "LiteLLMModel",
12
  "data": {
13
+ "last_input_token_count": 8017,
14
+ "last_output_token_count": 503,
15
+ "model_id": "gemini/gemini-2.0-flash",
16
  "api_base": null
17
  }
18
  },
 
49
  "duckduckgo_search"
50
  ],
51
  "authorized_imports": [
52
+ "collections",
 
53
  "re",
54
+ "unicodedata",
 
55
  "time",
 
56
  "random",
57
+ "stat",
58
+ "itertools",
59
  "math",
60
+ "statistics",
61
+ "queue",
62
+ "datetime"
63
  ],
64
  "executor_type": "local",
65
  "executor_kwargs": {},
app.py CHANGED
@@ -15,8 +15,8 @@ from tools.final_answer import FinalAnswerTool as FinalAnswer
15
 
16
 
17
  model = LiteLLMModel(
18
- model_id='gemini/gemini-2.0-flash-001',
19
- api_key=os.getenv("LITELLM_API_KEY")
20
  )
21
 
22
  web_search = WebSearch()
 
15
 
16
 
17
  model = LiteLLMModel(
18
+ model_id='gemini/gemini-2.0-flash',
19
+ api_base=None,
20
  )
21
 
22
  web_search = WebSearch()
requirements.txt CHANGED
@@ -1,4 +1,4 @@
1
  markdownify
2
  requests
3
- smolagents[litellm]
4
  duckduckgo_search
 
1
  markdownify
2
  requests
3
+ smolagents
4
  duckduckgo_search