basic_reasoning.py
Run the Example
1
Set up your virtual environment
2
Install dependencies
3
Export your Google API key
4
Disable thinking on the regular agent
Replace
Gemini(id="gemini-2.5-flash") in regular_agent with Gemini(id="gemini-2.5-flash", thinking_budget=0) in the saved file.5
Run the example
Save the code above as
basic_reasoning.py, then run: