mirror of
https://github.com/Shubhamsaboo/awesome-llm-apps.git
synced 2026-04-29 14:48:44 -05:00
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:
@@ -1,4 +1,4 @@
|
||||
streamlit
|
||||
e2b-code-interpreter
|
||||
agno
|
||||
agno>=2.2.10
|
||||
Pillow
|
||||
@@ -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
|
||||
)
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user