refactor: Update multimodal agent teams to use RunOutput and specify agno version

- Changed response type to `RunOutput` in multimodal design and coding agent teams for improved type safety.
- Updated the `agno` package version in requirements.txt to ensure compatibility across all agents.
This commit is contained in:
Shubhamsaboo
2025-11-09 20:39:52 -08:00
parent dad9e35374
commit 759c16306b
3 changed files with 6 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
streamlit
e2b-code-interpreter
agno
agno>=2.2.10
Pillow

View File

@@ -1,4 +1,5 @@
from agno.agent import Agent
from agno.run.agent import RunOutput
from agno.models.google import Gemini
from agno.media import Image as AgnoImage
from agno.tools.duckduckgo import DuckDuckGoTools
@@ -188,7 +189,7 @@ if st.session_state.api_key_input:
Focus on concrete observations and actionable insights.
"""
response = vision_agent.run(
response: RunOutput = vision_agent.run(
message=vision_prompt,
images=all_images
)
@@ -209,7 +210,7 @@ if st.session_state.api_key_input:
Focus on concrete observations and actionable improvements.
"""
response = ux_agent.run(
response: RunOutput = ux_agent.run(
message=ux_prompt,
images=all_images
)
@@ -230,7 +231,7 @@ if st.session_state.api_key_input:
Focus on concrete market insights and actionable recommendations.
"""
response = market_agent.run(
response: RunOutput = market_agent.run(
message=market_prompt,
images=all_images
)

View File

@@ -1,6 +1,6 @@
google-generativeai==0.8.3
streamlit==1.41.1
agno
agno>=2.2.10
Pillow==11.0.0
duckduckgo-search==6.3.7