Spaces:
Runtime error
Runtime error
Upload agent
Browse files- agent.json +2 -2
- app.py +1 -1
- 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":
|
16 |
-
"model_id": "ollama_chat/qwen2.5-coder:
|
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:
|
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):
|