Spaces:
Sleeping
Sleeping
Upload agent
Browse files- agent.json +2 -2
- tools/visit_webpage.py +2 -2
agent.json
CHANGED
|
@@ -10,8 +10,8 @@
|
|
| 10 |
"model": {
|
| 11 |
"class": "LiteLLMModel",
|
| 12 |
"data": {
|
| 13 |
-
"last_input_token_count":
|
| 14 |
-
"last_output_token_count":
|
| 15 |
"model_id": "openrouter/qwen/qwen-2.5-coder-32b-instruct:free",
|
| 16 |
"api_base": "https://openrouter.ai/api/v1"
|
| 17 |
}
|
|
|
|
| 10 |
"model": {
|
| 11 |
"class": "LiteLLMModel",
|
| 12 |
"data": {
|
| 13 |
+
"last_input_token_count": 9320,
|
| 14 |
+
"last_output_token_count": 140,
|
| 15 |
"model_id": "openrouter/qwen/qwen-2.5-coder-32b-instruct:free",
|
| 16 |
"api_base": "https://openrouter.ai/api/v1"
|
| 17 |
}
|
tools/visit_webpage.py
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
from typing import Any, Optional
|
| 2 |
from smolagents.tools import Tool
|
| 3 |
-
import
|
| 4 |
import requests
|
| 5 |
import markdownify
|
| 6 |
-
import
|
| 7 |
|
| 8 |
class VisitWebpageTool(Tool):
|
| 9 |
name = "visit_webpage"
|
|
|
|
| 1 |
from typing import Any, Optional
|
| 2 |
from smolagents.tools import Tool
|
| 3 |
+
import re
|
| 4 |
import requests
|
| 5 |
import markdownify
|
| 6 |
+
import smolagents
|
| 7 |
|
| 8 |
class VisitWebpageTool(Tool):
|
| 9 |
name = "visit_webpage"
|