You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Add QWEN_OFFICIAL_HEADERS with required identification headers
- Session tracking with unique sessionId per plugin instance
- Prompt tracking with unique promptId per request
- Full 1,000 requests/day quota now available (OAuth free tier)
- Align models with qwen-code-0.12.0 official client (only coder-model exposed)
- Fix: correctly convert snake_case to camelCase when loading credentials
Fixes#4
> **Note:** This plugin aligns with the official `qwen-code-0.12.0` client, which exposes only the `coder-model` alias. This model automatically routes to the best available Qwen 3.5 Plus with hybrid reasoning and vision capabilities.
@@ -139,8 +166,11 @@ The `qwen-code` provider is added via plugin. In the `opencode auth login` comma
139
166
140
167
### Rate limit exceeded (429 errors)
141
168
169
+
**As of v1.5.0, this should no longer occur!** The plugin now sends official Qwen Code headers that properly identify your client and prevent aggressive rate limiting.
170
+
171
+
If you still experience rate limiting:
172
+
- Ensure you're using v1.5.0 or later: `npm update opencode-qwencode-auth`
142
173
- Wait until midnight UTC for quota reset
143
-
- Try using `qwen3-coder-flash` for faster, lighter requests
144
174
- Consider [DashScope API](https://dashscope.aliyun.com) for higher limits
Copy file name to clipboardExpand all lines: README.pt-BR.md
+14-20Lines changed: 14 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@
8
8
<imgsrc="assets/screenshot.png"alt="OpenCode com Qwen Code"width="800">
9
9
</p>
10
10
11
-
**Autentique o OpenCode CLI com sua conta qwen.ai.** Este plugin permite usar modelos Qwen (Coder, Max, Plus e mais) com **2.000 requisições gratuitas por dia** - sem API key ou cartão de crédito!
11
+
**Autentique o OpenCode CLI com sua conta qwen.ai.** Este plugin permite usar o modelo `coder-model` com **2.000 requisições gratuitas por dia** - sem API key ou cartão de crédito!
|`coder-model`| 1M tokens | 64K tokens | Alias oficial (Auto-rotas para Qwen 3.5 Plus - Hybrid & Vision) |
78
82
79
-
### Modelos de Propósito Geral
83
+
> **Nota:** Este plugin está alinhado com o cliente oficial `qwen-code-0.12.0`, que expõe apenas o alias `coder-model`. Este modelo automaticamente rotaciona para o melhor Qwen 3.5 Plus disponível com raciocínio híbrido e capacidades de visão.
80
84
81
-
| Modelo | Contexto | Max Output | Reasoning | Melhor Para |
0 commit comments