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
Owner

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
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
JakeHillion added 1 commit 2026-05-01 23:59:03 +01:00
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.
4a692a6615
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
JakeHillion merged commit 4a692a6615 into main 2026-05-02 09:54:51 +01:00
JakeHillion deleted branch jj/zzysluskyvww 2026-05-02 09:54:51 +01:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: JakeHillion/nixos#1080