Installation
Install the OpenAI package (Qwen uses OpenAI-compatible API):Setup
Set your Qwen API key as an environment variable:Initialize Model
Create a Qwen model instance:Use with Agent
Pass the model to your agent:Configuration Options
Supported parameters for Qwen models:For the full list of available models and parameters, see the Qwen API documentation.