Last active
September 13, 2026 13:39
-
-
Save gracefullight/5b55250afb9b8a2fea1589d0f61ad84b to your computer and use it in GitHub Desktop.
Qwen Code ~/.qwen/settings.json (tokens redacted)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "env": { | |
| "MODELSCOPE_API_TOKEN": "" | |
| }, | |
| "modelProviders": { | |
| "openai": [ | |
| { | |
| "id": "Qwen/Qwen3.8-27B", | |
| "name": "Qwen/Qwen3.8-27B", | |
| "baseUrl": "https://api-inference.modelscope.ai/v1", | |
| "envKey": "MODELSCOPE_API_TOKEN", | |
| "generationConfig": { | |
| "timeout": 300000 | |
| } | |
| }, | |
| { | |
| "id": "deepseek-ai/DeepSeek-V4-Pro-0813", | |
| "name": "deepseek-ai/DeepSeek-V4-Pro-0813", | |
| "baseUrl": "https://api-inference.modelscope.ai/v1", | |
| "envKey": "MODELSCOPE_API_TOKEN", | |
| "generationConfig": { | |
| "timeout": 300000 | |
| } | |
| } | |
| ] | |
| }, | |
| "$version": 4, | |
| "security": { | |
| "auth": { | |
| "selectedType": "openai" | |
| } | |
| }, | |
| "model": { | |
| "name": "Qwen/Qwen3.8-27B", | |
| "baseUrl": "https://api-inference.modelscope.ai/v1" | |
| }, | |
| "mcpServers": { | |
| "modelscope-image": { | |
| "command": "npx", | |
| "args": [ | |
| "-y", | |
| "@gracefullight/modelscope-image-mcp", | |
| "--model", | |
| "krea-community/Krea-2-Turbo" | |
| ], | |
| "env": { | |
| "MODELSCOPE_API_TOKEN": "$MODELSCOPE_API_TOKEN" | |
| }, | |
| "timeout": 660000 | |
| } | |
| }, | |
| "permissions": { | |
| "deny": [ | |
| "Bash(sudo *)", | |
| "Bash(rm -rf *)", | |
| "Bash(git push --force *)", | |
| "Bash(git push -f *)", | |
| "Bash(git reset --hard *)", | |
| "Read(~/.ssh/**)", | |
| "Read(~/.aws/**)", | |
| "Read(~/.qwen/settings.json)" | |
| ] | |
| }, | |
| "tools": { | |
| "approvalMode": "yolo" | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment