Update agent.py
Browse files
agent.py
CHANGED
@@ -24,7 +24,6 @@ from smolagents import (
|
|
24 |
CodeAgent,
|
25 |
DuckDuckGoSearchTool,
|
26 |
PythonInterpreterTool,
|
27 |
-
BaseModel,
|
28 |
tool,
|
29 |
)
|
30 |
|
@@ -48,7 +47,7 @@ def _download_file(file_id: str) -> bytes:
|
|
48 |
# --------------------------------------------------------------------------- #
|
49 |
# Model wrapper
|
50 |
# --------------------------------------------------------------------------- #
|
51 |
-
class GeminiModel
|
52 |
"""
|
53 |
Thin adapter around google-genai.Client so it can be used by smolagents.
|
54 |
"""
|
|
|
24 |
CodeAgent,
|
25 |
DuckDuckGoSearchTool,
|
26 |
PythonInterpreterTool,
|
|
|
27 |
tool,
|
28 |
)
|
29 |
|
|
|
47 |
# --------------------------------------------------------------------------- #
|
48 |
# Model wrapper
|
49 |
# --------------------------------------------------------------------------- #
|
50 |
+
class GeminiModel:
|
51 |
"""
|
52 |
Thin adapter around google-genai.Client so it can be used by smolagents.
|
53 |
"""
|