Skip to content

Commit

Permalink
Merge branch 'refactor/agno' of https://github.com/phidatahq/phidata
Browse files Browse the repository at this point in the history
…into refactor/agno
  • Loading branch information
dirkbrnd committed Jan 30, 2025
2 parents ccd0495 + 19f5e8d commit b63e5a3
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 10 deletions.
4 changes: 2 additions & 2 deletions cookbook/examples/apps/game_generator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand All @@ -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
```
4 changes: 2 additions & 2 deletions cookbook/examples/apps/geobuddy/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand All @@ -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
```
8 changes: 4 additions & 4 deletions cookbook/examples/apps/medical_imaging/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
1 change: 1 addition & 0 deletions cookbook/playground/gemini_agents.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion libs/agno/agno/playground/schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion libs/agno/agno/playground/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
)

Expand Down

0 comments on commit b63e5a3

Please sign in to comment.