Spaces:
Sleeping
Sleeping
using gemini
Browse files
app.py
CHANGED
|
@@ -11,6 +11,7 @@ import json
|
|
| 11 |
import boto3
|
| 12 |
from smolagents import FinalAnswerTool, Tool, tool, OpenAIServerModel, DuckDuckGoSearchTool, CodeAgent, VisitWebpageTool
|
| 13 |
from nova_agent import NovaProAgent
|
|
|
|
| 14 |
|
| 15 |
from dotenv import load_dotenv
|
| 16 |
|
|
@@ -228,7 +229,7 @@ async def run_and_submit_all(profile):
|
|
| 228 |
|
| 229 |
# 1. Instantiate Agent ( modify this part to create your agent)
|
| 230 |
try:
|
| 231 |
-
agent =
|
| 232 |
except Exception as e:
|
| 233 |
print(f"Error instantiating agent: {e}")
|
| 234 |
return f"Error initializing agent: {e}", None
|
|
|
|
| 11 |
import boto3
|
| 12 |
from smolagents import FinalAnswerTool, Tool, tool, OpenAIServerModel, DuckDuckGoSearchTool, CodeAgent, VisitWebpageTool
|
| 13 |
from nova_agent import NovaProAgent
|
| 14 |
+
from gemini_agent import GeminiAgent
|
| 15 |
|
| 16 |
from dotenv import load_dotenv
|
| 17 |
|
|
|
|
| 229 |
|
| 230 |
# 1. Instantiate Agent ( modify this part to create your agent)
|
| 231 |
try:
|
| 232 |
+
agent = GeminiAgent()
|
| 233 |
except Exception as e:
|
| 234 |
print(f"Error instantiating agent: {e}")
|
| 235 |
return f"Error initializing agent: {e}", None
|