Skip to content

Never stop coding. Free MIT AI gateway: one endpoint, 375 providers (150+ free), 1,400+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline & Copilot. Quota-aware auto-fallback, RTK+Caveman compression saves 15-95% tokens, MCP/A2A, Desktop/PWA. Built by 900+ contributors

fix(opencode-zen): flag qwen3.6-plus(-free) as targetFormat=claude (#2292)

diegosouzapw56d6ad604c4d
diff --git a/open-sse/config/providerRegistry.ts b/open-sse/config/providerRegistry.ts
index c256c86237..0053f604ad 100644
--- a/open-sse/config/providerRegistry.ts
+++ b/open-sse/config/providerRegistry.ts
@@ -1084,6 +1084,18 @@ export const REGISTRY: Record<string, RegistryEntry> = {
contextLength: 131000,
},
{ id: "nemotron-3-super-free", name: "Nemotron 3 Super Free", contextLength: 1000000 },
+ // Issue #2292: opencode-zen returns Claude-format SSE bodies for these
+ // Qwen3.6 models even when the request hits the OpenAI-compatible
+ // /chat/completions endpoint. Flagging targetFormat: "claude" routes
+ // the request to /messages and parses the response with the Claude
+ // translator, fixing "expected choices (array), received undefined".
+ { id: "qwen3.6-plus", name: "Qwen3.6 Plus", targetFormat: "claude", contextLength: 200000 },
+ {
+ id: "qwen3.6-plus-free",
+ name: "Qwen3.6 Plus Free",
+ targetFormat: "claude",
+ contextLength: 200000,
+ },
],
},