reasoning_agent.py
Run the Example
1
Set up your virtual environment
2
Install dependencies
3
Export your Groq API key
4
Replace Llama 3.3
Replace
llama-3.3-70b-versatile with openai/gpt-oss-120b in the saved file.5
Replace DeepSeek R1 Distill
Replace
deepseek-r1-distill-llama-70b with openai/gpt-oss-120b in the saved file.6
Run the example
Save the code above as
reasoning_agent.py, then run: