reasoning_agent.py
Run the Example
1
Set up your virtual environment
2
Install dependencies
3
Export environment variables
4
Use the selected reasoning model
Add
import os, then replace "Qwen/Qwen3-235B-A22B-Thinking-2507" with os.environ["TOGETHER_REASONING_MODEL_ID"] in the saved file.5
Run the example
Save the code above as
reasoning_agent.py, then run: