OpenCode config in Ubuntu
آدرس کانفیگ اوپن کد در لینوکس اوبونتو
~/.config/opencode/opencode.json
In "provider" set the "qwen" section with your token
در بخش "provider" قسمت "qwen" را با توکن خودتان به شکل زیر قرار دهید
{
"$schema": "https://opencode.ai/config.json",
"provider": {
"qwen": {
"npm": "@ai-sdk/openai-compatible",
"name": "QwenAI",
"options": {
"baseURL": "https://qwen.aikit.club/v1",
"apiKey": "<TOKEN>"
},
"models": {
"qwen3.7-plus": {
"name": "Qwen 3.7 Plus"
},
"qwen3.7-max": {
"name": "Qwen 3.7 Max"
},
}
}
}
}
OpenCode config in Ubuntu
آدرس کانفیگ اوپن کد در لینوکس اوبونتو
␃WPNCODE0␃
In "provider" set the "qwen" section with your token
در بخش "provider" قسمت "qwen" را با توکن خودتان به شکل زیر قرار دهید
␃WPNCODE1␃