Merge pull request #1927 from QwenLM/mingholy/docs/model-providers

docs: enhance modelProviders documentation with comprehensive examples and behavior clarifications
This commit is contained in:
pomelo 2026-02-25 15:08:50 +08:00 committed by GitHub
commit 95e8ddc70d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 577 additions and 145 deletions

View file

@ -205,7 +205,7 @@ Edit `~/.qwen/settings.json` (create it if it doesn't exist). You can mix multip
>
> When using the `env` field in `settings.json`, credentials are stored in plain text. For better security, prefer `.env` files or shell `export` — see [Step 2](#step-2-set-environment-variables).
For the full `modelProviders` schema and advanced options like `generationConfig`, `customHeaders`, and `extra_body`, see [Settings Reference → modelProviders](settings.md#modelproviders).
For the full `modelProviders` schema and advanced options like `generationConfig`, `customHeaders`, and `extra_body`, see [Model Providers Reference](model-providers.md).
#### Step 2: Set environment variables