Description
ProviderTransform.variants() should return the standard low / medium / high reasoning variants for reasoning-capable deepseek, glm, and minimax models when they are routed through @ai-sdk/openai-compatible.
On current dev, those model families are being excluded by the same blanket guard that also excludes qwen, kimi, and related models, so they incorrectly return {} instead.
This issue is intentionally narrow: qwen, kimi, and k2p5 should remain excluded. This is a follow-up to PR #21212, not a blanket revert.
Plugins
OpenCode version
1.4.11
Steps to reproduce
- Inspect
packages/opencode/src/provider/transform.ts on current dev.
- Call
ProviderTransform.variants() with a reasoning-capable deepseek, glm, or minimax model using @ai-sdk/openai-compatible.
- Observe that it returns
{} instead of low / medium / high.
Screenshot and/or share link
Operating System
macOS
Terminal
zsh
Description
ProviderTransform.variants()should return the standardlow/medium/highreasoning variants for reasoning-capabledeepseek,glm, andminimaxmodels when they are routed through@ai-sdk/openai-compatible.On current
dev, those model families are being excluded by the same blanket guard that also excludesqwen,kimi, and related models, so they incorrectly return{}instead.This issue is intentionally narrow:
qwen,kimi, andk2p5should remain excluded. This is a follow-up to PR #21212, not a blanket revert.Plugins
OpenCode version
1.4.11
Steps to reproduce
packages/opencode/src/provider/transform.tson currentdev.ProviderTransform.variants()with a reasoning-capabledeepseek,glm, orminimaxmodel using@ai-sdk/openai-compatible.{}instead oflow/medium/high.Screenshot and/or share link
Operating System
macOS
Terminal
zsh