Spaces:
Sleeping
Sleeping
Update veryfinal.py
Browse files- veryfinal.py +4 -4
veryfinal.py
CHANGED
|
@@ -25,8 +25,8 @@ from langchain_text_splitters import RecursiveCharacterTextSplitter
|
|
| 25 |
|
| 26 |
# Agno imports
|
| 27 |
from agno.agent import Agent
|
| 28 |
-
from agno.models.groq import
|
| 29 |
-
from agno.models.google import
|
| 30 |
from agno.tools.tavily import TavilyTools
|
| 31 |
from agno.memory.agent import AgentMemory
|
| 32 |
from agno.storage.sqlite import SqliteStorage
|
|
@@ -84,7 +84,7 @@ def create_agno_agents():
|
|
| 84 |
|
| 85 |
math_agent = Agent(
|
| 86 |
name="MathSpecialist",
|
| 87 |
-
model=
|
| 88 |
model="llama-3.3-70b-versatile",
|
| 89 |
api_key=os.getenv("GROQ_API_KEY"),
|
| 90 |
temperature=0
|
|
@@ -102,7 +102,7 @@ def create_agno_agents():
|
|
| 102 |
)
|
| 103 |
research_agent = Agent(
|
| 104 |
name="ResearchSpecialist",
|
| 105 |
-
model=
|
| 106 |
model="gemini-2.0-flash-lite",
|
| 107 |
api_key=os.getenv("GOOGLE_API_KEY"),
|
| 108 |
temperature=0
|
|
|
|
| 25 |
|
| 26 |
# Agno imports
|
| 27 |
from agno.agent import Agent
|
| 28 |
+
from agno.models.groq import GroqChat
|
| 29 |
+
from agno.models.google import GeminiChat
|
| 30 |
from agno.tools.tavily import TavilyTools
|
| 31 |
from agno.memory.agent import AgentMemory
|
| 32 |
from agno.storage.sqlite import SqliteStorage
|
|
|
|
| 84 |
|
| 85 |
math_agent = Agent(
|
| 86 |
name="MathSpecialist",
|
| 87 |
+
model=GroqChat(
|
| 88 |
model="llama-3.3-70b-versatile",
|
| 89 |
api_key=os.getenv("GROQ_API_KEY"),
|
| 90 |
temperature=0
|
|
|
|
| 102 |
)
|
| 103 |
research_agent = Agent(
|
| 104 |
name="ResearchSpecialist",
|
| 105 |
+
model=GeminiChat(
|
| 106 |
model="gemini-2.0-flash-lite",
|
| 107 |
api_key=os.getenv("GOOGLE_API_KEY"),
|
| 108 |
temperature=0
|