- Agents without a model use the Team’s
model - Agents with their own model keep their own model
- In nested teams, agents use the
modelfrom their direct parent team - The
reasoning_model,parser_model, andoutput_modelmust be set explicitly on each team member or team
- The Team and all agents default to OpenAI
gpt-4o
1
Create a Python file
2
Add the following code to your Python file
model_inheritance.py
3
Create a virtual environment
Open the
Terminal and create a python virtual environment.4
Install libraries
5
Export your OpenAI API key
6
Run Team
7
Find All Cookbooks
Explore all the available cookbooks in the Agno repository. Click the link below to view the code on GitHub:Agno Cookbooks on GitHub