Skip to main content
Example showing how to enable reasoning on a Team, using the reasoning=True flag with show_full_reasoning=True.
1

Add the following code to your Python file

team_cot.py
2

Set up your virtual environment

3

Install dependencies

4

Export your OpenAI API key

5

Run Agent