Quick setup with environment variables
~/.qwen/.env (or
./.qwen/.env for a single project).
Saved setup with settings.json
To keep the config, add a provider to~/.qwen/settings.json:
envKey names the environment variable that holds your key, so the key itself stays
out of the file.
The base URL ends in
/v1. Use your deployment slug (deployment-{id}) or an
alias, and set the model id to what your deployment serves.