opencode-thinking-fix 3.3.0 → 3.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -113,9 +113,7 @@ causing cross-provider poisoning. v3.1 fixes that:
|
|
|
113
113
|
(MiniMax split mode), `reasoning` (OpenCode Go / fixed-upstream). Previously the proxy
|
|
114
114
|
filled all three fields, so a GLM turn stored under `reasoning` could poison a later
|
|
115
115
|
DeepSeek replay that expects `reasoning_content`.
|
|
116
|
-
- **
|
|
117
|
-
(400 if you do) while V4 must. R1 uses the v3.2 `reasoningKey: 'strip'` sentinel,
|
|
118
|
-
which actively removes reasoning fields before forwarding.
|
|
116
|
+
- **Legacy DeepSeek aliases vs V4.** DeepSeek retired the `deepseek-chat` / `deepseek-reasoner` aliases on 2026-07-24; the current catalog is `deepseek-v4-flash`, `deepseek-v4-pro`, and the experimental `deepseek-v4-flash-vision-exp`. While the R1 alias was live it had the inverted contract (echoed reasoning → 400), which is why the proxy carries a `strip` route: it actively removes reasoning fields before forwarding, kept today only as a compatibility guard for clients that still send the old name. V4 thinking mode uses the normal passback contract instead.
|
|
119
117
|
- **Never fabricate reasoning.** Unknown models and providers that reject echo
|
|
120
118
|
(Qwen, GPT, Claude, Gemini, Llama, Mistral, Cerebras-hosted GLM) default to
|
|
121
119
|
`reasoningKey: null` — the body is forwarded untouched.
|
|
@@ -389,6 +387,7 @@ The plugin is the safety net. If the proxy goes down, the plugin still injects e
|
|
|
389
387
|
| Model | Plugin helps | Proxy helps | What it needs |
|
|
390
388
|
|---|---|---|---|
|
|
391
389
|
| DeepSeek V4 Pro / Flash | Yes | Nice to have | Accepts `""` (tool-call turns need real text) |
|
|
390
|
+
| DeepSeek V4 Flash Vision (exp) | Yes | Nice to have | Text + image input on a separate model id; same passback contract |
|
|
392
391
|
| Kimi K2.5 / K2.6 | Yes | Nice to have | Accepts `""` |
|
|
393
392
|
| **Kimi K2.7 Code** | **Not enough alone** | **Required** | Field must be *present*; real text keeps it coherent |
|
|
394
393
|
| GLM-5.x / Zhipu | Yes | Nice to have | Accepts `""` |
|
|
@@ -406,8 +405,9 @@ The proxy auto-routes by model name prefix. All routes:
|
|
|
406
405
|
|
|
407
406
|
| Prefix | Upstream | Reasoning |
|
|
408
407
|
|---|---|---|
|
|
409
|
-
| `deepseek-v4-
|
|
410
|
-
| `deepseek-
|
|
408
|
+
| `deepseek-v4-flash`, `deepseek-v4-pro`, `deepseek-v4-flash-vision-exp` | `https://api.deepseek.com` | Yes (`reasoning_content`) |
|
|
409
|
+
| `deepseek-chat` | `https://api.deepseek.com` | Non-thinking alias (no reasoning emitted; passback is a harmless no-op) |
|
|
410
|
+
| `deepseek-r1`, `deepseek-reasoner` | `https://api.deepseek.com` | Legacy — retired by DeepSeek 2026-07-24; kept as a compatibility guard with active stripping |
|
|
411
411
|
| `kimi`, `moonshot` | `https://api.moonshot.ai/v1` | Yes (`reasoning_content`) |
|
|
412
412
|
| `glm`, `zhipu` | `https://open.bigmodel.cn/api/paas/v4` | Yes (`reasoning_content`) |
|
|
413
413
|
| `minimax` | `https://api.minimax.io/v1` | Yes (`reasoning_details`, `reasoning_split:true`) |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-thinking-fix",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.1",
|
|
4
4
|
"description": "Restores reasoning content dropped from multi-turn OpenCode conversations (DeepSeek, Kimi, GLM, MiMo, MiniMax, OpenCode Go). Plugin + proxy + watchdog.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|