Spaces:
Sleeping
Sleeping
Update agent.py
Browse files
agent.py
CHANGED
|
@@ -22,7 +22,7 @@ from PIL import Image
|
|
| 22 |
from smolagents import CodeAgent, LiteLLMModel, DuckDuckGoSearchTool, VisitWebpageTool
|
| 23 |
|
| 24 |
API_URL = "https://agents-course-unit4-scoring.hf.space" # same as DEFAULT_API_URL in app.py
|
| 25 |
-
MODEL_ID = "
|
| 26 |
REQUESTS_PER_MINUTE = 9 # keep just under your free-tier limit (check it in Google AI Studio)
|
| 27 |
MAX_STEPS = 6 # most level-1 questions need 2-5 steps
|
| 28 |
|
|
|
|
| 22 |
from smolagents import CodeAgent, LiteLLMModel, DuckDuckGoSearchTool, VisitWebpageTool
|
| 23 |
|
| 24 |
API_URL = "https://agents-course-unit4-scoring.hf.space" # same as DEFAULT_API_URL in app.py
|
| 25 |
+
MODEL_ID = "groq/llama-3.3-70b-versatile" # any current free Gemini Flash model
|
| 26 |
REQUESTS_PER_MINUTE = 9 # keep just under your free-tier limit (check it in Google AI Studio)
|
| 27 |
MAX_STEPS = 6 # most level-1 questions need 2-5 steps
|
| 28 |
|