From 0c3e0d556c4deae97b4ff76795a9859bd63e6b14 Mon Sep 17 00:00:00 2001 From: oqyude Date: Sun, 1 Nov 2026 17:35:25 +0300 Subject: [PATCH] =?UTF-8?q?feat(models):=20=D0=B0=D0=B3=D0=B5=D0=BD=D1=82?= =?UTF-8?q?=D1=8B=20=D0=BD=D0=B0=20console-oqyude/MiniMax-M3.1-Flash=20(mi?= =?UTF-8?q?nimax=20=D1=87=D0=B5=D1=80=D0=B5=D0=B7=20opencode=20console)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- home/modules/opencode.nix | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/home/modules/opencode.nix b/home/modules/opencode.nix index 8f1c18d..8704521 100644 --- a/home/modules/opencode.nix +++ b/home/modules/opencode.nix @@ -74,12 +74,18 @@ let pluginSpec = "oh-my-opencode-slim@3.0.5"; # Model ids are validated against the provider registry, not against taste. - # `opencode models` on this host lists the opencode-go registry, which is the - # account the director already spends from: state/quota.json - # `provider_selection.model` = opencode-go/deepseek-v4.1-flash, and every - # worker session the director mints is created with exactly that pair. Using - # the same provider for the agents makes the director's quota gate guard the - # model the agents actually run, instead of a second, invisible budget. + # `opencode models` on this host lists the console providers of the + # OpenCode console accounts (console-oqyude, console-gobin) next to the + # opencode-go and minimax-coding-plan registries. An id that is NOT in that + # list is a ProviderModelNotFoundError at spawn time — the kimi-for-coding + # class of bug (see R1.x). + # + # 2026-11-01: default model moved + # opencode-go/deepseek-v4.1-flash -> console-oqyude/MiniMax-M3.1-Flash + # Reason: the owner moved the agent models to minimax through the opencode + # console: oqyude is the primary console account, gobin the fallback one + # (both are MiniMax token plans behind the console). Both ids are in the + # registry — verified with `oc models` on sapphira, 2026-11-01. # # 2026-10-26: default model moved # minimax-coding-plan/MiniMax-M3.1-Flash -> opencode-go/deepseek-v4.1-flash @@ -93,7 +99,7 @@ let # (MiniMax-M3.1-Flash-Preview, MiniMax-M2.7-highspeed, ... — the retired v1 # plugin config referenced the -Preview id everywhere; same class of bug as # the kimi-for-coding incident described in R1.x). - modelFast = "opencode-go/deepseek-v4.1-flash"; + modelFast = "console-oqyude/MiniMax-M3.1-Flash"; # nixpkgs ast-grep only ships binary `ast-grep`; omo's ast-grep skill probes # for `sg` (or ast-grep). Provide both via a symlink wrapper.