oss_gpt.py
Run the Example
1
Set up your virtual environment
2
Install dependencies
3
Export your Cerebras OpenAI-compatible API key
4
Run the example
Save the code above as
oss_gpt.py, then run:Use gpt-oss-120b on the Cerebras OpenAI-compatible endpoint with WebSearchTools.
Set up your virtual environment
Install dependencies
Export your Cerebras OpenAI-compatible API key
Run the example
oss_gpt.py, then run: