Support openrouter (#162)

* support openrouter

* fix lint
This commit is contained in:
Yiheng Xu 2025-07-31 21:10:33 +08:00 committed by GitHub
parent cff88350f4
commit e27610789f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 18 additions and 0 deletions

View file

@ -88,6 +88,14 @@ export OPENAI_BASE_URL="https://dashscope-intl.aliyuncs.com/compatible-mode/v1"
export OPENAI_MODEL="qwen3-coder-plus"
```
OpenRouter also provides free Qwen3-Coder model access:
```bash
export OPENAI_API_KEY="your_api_key_here"
export OPENAI_BASE_URL=https://openrouter.ai/api/v1
export OPENAI_MODEL="qwen/qwen3-coder:free"
```
## Usage Examples
### Explore Codebases