diff --git a/cookbook/examples/apps/game_generator/README.md b/cookbook/examples/apps/game_generator/README.md index 943e8bfd3..a09ec421d 100644 --- a/cookbook/examples/apps/game_generator/README.md +++ b/cookbook/examples/apps/game_generator/README.md @@ -12,7 +12,7 @@ source ~/.venvs/aienv/bin/activate ### 2. Install requirements ```shell -pip install -r cookbook/use_cases/apps/game_generator/requirements.txt +pip install -r cookbook/examples/apps/game_generator/requirements.txt ``` ### 3. Export `OPENAI_API_KEY` @@ -24,5 +24,5 @@ export OPENAI_API_KEY=sk-*** ### 4. Run Streamlit App ```shell -streamlit run cookbook/use_cases/apps/game_generator/app.py +streamlit run cookbook/examples/apps/game_generator/app.py ``` diff --git a/cookbook/examples/apps/geobuddy/readme.md b/cookbook/examples/apps/geobuddy/readme.md index 89f0f42f0..241ce20f3 100644 --- a/cookbook/examples/apps/geobuddy/readme.md +++ b/cookbook/examples/apps/geobuddy/readme.md @@ -22,7 +22,7 @@ source ~/.venvs/geobuddyenv/bin/activate ### 2. Install requirements ```shell -pip install -r cookbook/use_cases/apps/geobuddy/requirements.txt +pip install -r cookbook/examples/apps/geobuddy/requirements.txt ``` ### 3. Export `GOOGLE_API_KEY` @@ -34,5 +34,5 @@ export GOOGLE_API_KEY=*** ### 4. Run Streamlit App ```shell -streamlit run cookbook/use_cases/apps/geobuddy/app.py +streamlit run cookbook/examples/apps/geobuddy/app.py ``` diff --git a/cookbook/examples/apps/medical_imaging/README.md b/cookbook/examples/apps/medical_imaging/README.md index 8c7f0a961..d7fc7f472 100644 --- a/cookbook/examples/apps/medical_imaging/README.md +++ b/cookbook/examples/apps/medical_imaging/README.md @@ -11,17 +11,17 @@ source ./agnoenv/bin/activate ### 2. Install requirements ```shell -pip install -r cookbook/use_cases/apps/medical_imaging/requirements.txt +pip install -r cookbook/examples/apps/medical_imaging/requirements.txt ``` -### 3. Export `OPENAI_API_KEY` +### 3. Export `GOOGLE_API_KEY` ```shell -export OPENAI_API_KEY=sk-*** +export GOOGLE_API_KEY=**** ``` ### 4. Run Streamlit App ```shell -streamlit run cookbook/use_cases/apps/medical_imaging/app.py +streamlit run cookbook/examples/apps/medical_imaging/app.py ``` diff --git a/cookbook/playground/gemini_agents.py b/cookbook/playground/gemini_agents.py index a328f1aae..c001eb9d9 100644 --- a/cookbook/playground/gemini_agents.py +++ b/cookbook/playground/gemini_agents.py @@ -5,6 +5,7 @@ finance_agent = Agent( name="Finance Agent", + agent_id="finance-agent", model=Gemini(id="gemini-2.0-flash-exp"), tools=[YFinanceTools(stock_price=True)], debug_mode=True, diff --git a/libs/agno/agno/playground/schemas.py b/libs/agno/agno/playground/schemas.py index c1d853887..99c71a8d6 100644 --- a/libs/agno/agno/playground/schemas.py +++ b/libs/agno/agno/playground/schemas.py @@ -11,7 +11,7 @@ class AgentModel(BaseModel): class AgentGetResponse(BaseModel): - agent_id: str + agent_id: Optional[str] = None name: Optional[str] = None model: Optional[AgentModel] = None add_context: Optional[bool] = None diff --git a/libs/agno/agno/playground/settings.py b/libs/agno/agno/playground/settings.py index 9fb0d2842..bd9f5a4c9 100644 --- a/libs/agno/agno/playground/settings.py +++ b/libs/agno/agno/playground/settings.py @@ -44,7 +44,7 @@ def set_cors_origin_list(cls, cors_origin_list): "https://agno.com", "https://www.agno.com", "https://app.agno.com", - "https://app-stg.agno.com", + "https://app-stg.agno.com" ] )