opencode: route deepseek-v4-pro to deep specialist agents #1080

Merged
JakeHillion merged 1 commits from jj/zzysluskyvww into main 2026-05-02 09:54:51 +01:00
1 Commits
Author SHA1 Message Date
JakeHillion 4a692a6615 opencode: route deepseek-v4-pro to deep specialist agents
commit-validation / validate-single-commit (pull_request) Successful in 3s
buildbot/nix-eval Build done. (1004 warnings)
buildbot/nix-build Build done.
buildbot/nix-effects Build done.
Adds deepseek-v4-pro (Ollama Pro, 1M context / 384K output) as a third
provider model alongside Kimi K2.6 and GLM-5.1.

Routes Oracle, Momus, and the deep / ultrabrain categories to DeepSeek
with reasoning tier tuned per slot — Think Max (variant = "max") for
Oracle, Momus, and ultrabrain; Think High (variant = "high") for the
deep category. DeepSeek V4 Pro's API only accepts reasoning_effort ∈
{"high","max"}, so we use the variant field (which has "max" in its
ladder) rather than reasoningEffort (whose ladder tops out at xhigh).
Kimi K2.6 stays as the only fallback for these slots since GLM shares
the Ollama Pro quota and would fail at the same time. Communicators
(Sisyphus, Prometheus, Metis), Atlas, multimodal-looker, explore,
librarian, and unspecified-high keep their existing GLM/Kimi
assignments.

Test plan:
- CI
- `bunx oh-my-opencode doctor` once deployed; inspect an outbound
  request to confirm reasoning_effort is being sent as "high" and
  "max" on the right slots
2026-05-01 23:58:25 +01:00