mikejay14 commited on
Commit
37a5579
·
verified ·
1 Parent(s): 8ef0bca

Upload agent

Browse files
Files changed (3) hide show
  1. agent.json +2 -2
  2. app.py +1 -1
  3. tools/visit_webpage.py +1 -1
agent.json CHANGED
@@ -12,8 +12,8 @@
12
  "class": "LiteLLMModel",
13
  "data": {
14
  "last_input_token_count": 2048,
15
- "last_output_token_count": 62,
16
- "model_id": "ollama_chat/qwen2.5-coder:7b-instruct-q2_K",
17
  "api_base": "http://localhost:11434"
18
  }
19
  },
 
12
  "class": "LiteLLMModel",
13
  "data": {
14
  "last_input_token_count": 2048,
15
+ "last_output_token_count": 68,
16
+ "model_id": "ollama_chat/qwen2.5-coder:3b-instruct-q4_K_M",
17
  "api_base": "http://localhost:11434"
18
  }
19
  },
app.py CHANGED
@@ -15,7 +15,7 @@ from tools.final_answer import FinalAnswerTool as FinalAnswer
15
 
16
 
17
  model = LiteLLMModel(
18
- model_id='ollama_chat/qwen2.5-coder:7b-instruct-q2_K',
19
  api_base='http://localhost:11434',
20
  )
21
 
 
15
 
16
 
17
  model = LiteLLMModel(
18
+ model_id='ollama_chat/qwen2.5-coder:3b-instruct-q4_K_M',
19
  api_base='http://localhost:11434',
20
  )
21
 
tools/visit_webpage.py CHANGED
@@ -1,8 +1,8 @@
1
  from typing import Any, Optional
2
  from smolagents.tools import Tool
 
3
  import smolagents
4
  import requests
5
- import markdownify
6
  import re
7
 
8
  class VisitWebpageTool(Tool):
 
1
  from typing import Any, Optional
2
  from smolagents.tools import Tool
3
+ import markdownify
4
  import smolagents
5
  import requests
 
6
  import re
7
 
8
  class VisitWebpageTool(Tool):