Drop broken opencode-go MiMo V2 Omni/Pro entries
Live SDK probes against both IDs returned Cloudflare 502s from inference.opencode.ai while sibling mimo-v2.5 worked. Keep only the verified grok-4.5 and kimi-k3 additions.
- commit
- c9c2032673c509db7ee80f5a0f6f27934080eca3
- author
- mi-skam · · 2026-07-21 14:43 UTC
- parent
- f2dbc48
- signature
- SSH Unverified
SHA256:Yu1uEv3+xppM2hvm7BsWney9tUWafRiTe/kq8zX8X0wThe key is unknown
2 files · +4 -8
M packages/provider/catalog_builtin.go +0 -2
| @@ -310,8 +310,6 @@ var builtinCatalog = []Model{ | |||
| 310 | 310 | {Provider: "opencode-go", ID: "kimi-k2.6", DisplayName: "Kimi K2.6", ContextWindow: 262144, MaxOutput: 65536, Reasoning: true, PriceInput: 0.95, PriceOutput: 4, PriceCacheRead: 0.16, BaseURL: "https://opencode.ai/zen/go/v1"}, | |
| 311 | 311 | {Provider: "opencode-go", ID: "kimi-k2.7-code", DisplayName: "Kimi K2.7 Code", ContextWindow: 262144, MaxOutput: 16384, Reasoning: true, PriceInput: 0.74, PriceOutput: 3.5, PriceCacheRead: 0.15, BaseURL: "https://opencode.ai/zen/go/v1"}, | |
| 312 | 312 | {Provider: "opencode-go", ID: "kimi-k3", DisplayName: "Kimi K3", ContextWindow: 262144, MaxOutput: 131072, Reasoning: true, PriceInput: 3, PriceOutput: 15, PriceCacheRead: 0.3, BaseURL: "https://opencode.ai/zen/go/v1"}, | |
| 313 | - | {Provider: "opencode-go", ID: "mimo-v2-omni", DisplayName: "MiMo V2 Omni", ContextWindow: 262144, MaxOutput: 128000, Reasoning: true, PriceInput: 0.4, PriceOutput: 2, PriceCacheRead: 0.08, BaseURL: "https://opencode.ai/zen/go/v1"}, | |
| 314 | - | {Provider: "opencode-go", ID: "mimo-v2-pro", DisplayName: "MiMo V2 Pro", ContextWindow: 1048576, MaxOutput: 128000, Reasoning: true, PriceInput: 1, PriceOutput: 3, PriceCacheRead: 0.2, BaseURL: "https://opencode.ai/zen/go/v1"}, | |
| 315 | 313 | {Provider: "opencode-go", ID: "mimo-v2.5", DisplayName: "MiMo V2.5", ContextWindow: 1000000, MaxOutput: 128000, Reasoning: true, PriceInput: 0.4, PriceOutput: 2, PriceCacheRead: 0.08, BaseURL: "https://opencode.ai/zen/go/v1"}, | |
| 316 | 314 | {Provider: "opencode-go", ID: "mimo-v2.5-pro", DisplayName: "MiMo V2.5 Pro", ContextWindow: 1048576, MaxOutput: 128000, Reasoning: true, PriceInput: 1, PriceOutput: 3, PriceCacheRead: 0.2, BaseURL: "https://opencode.ai/zen/go/v1"}, | |
| 317 | 315 | {Provider: "opencode-go", ID: "minimax-m2.5", DisplayName: "MiniMax M2.5", ContextWindow: 204800, MaxOutput: 65536, Reasoning: true, PriceInput: 0.3, PriceOutput: 1.2, PriceCacheRead: 0.03, BaseURL: "https://opencode.ai/zen/go"}, | |
| @@ -310,8 +310,6 @@ var builtinCatalog = []Model{ | |||||
| 310 | {Provider: "opencode-go", ID: "kimi-k2.6", DisplayName: "Kimi K2.6", ContextWindow: 262144, MaxOutput: 65536, Reasoning: true, PriceInput: 0.95, PriceOutput: 4, PriceCacheRead: 0.16, BaseURL: "https://opencode.ai/zen/go/v1"}, | 310 | {Provider: "opencode-go", ID: "kimi-k2.6", DisplayName: "Kimi K2.6", ContextWindow: 262144, MaxOutput: 65536, Reasoning: true, PriceInput: 0.95, PriceOutput: 4, PriceCacheRead: 0.16, BaseURL: "https://opencode.ai/zen/go/v1"}, | ||
| 311 | {Provider: "opencode-go", ID: "kimi-k2.7-code", DisplayName: "Kimi K2.7 Code", ContextWindow: 262144, MaxOutput: 16384, Reasoning: true, PriceInput: 0.74, PriceOutput: 3.5, PriceCacheRead: 0.15, BaseURL: "https://opencode.ai/zen/go/v1"}, | 311 | {Provider: "opencode-go", ID: "kimi-k2.7-code", DisplayName: "Kimi K2.7 Code", ContextWindow: 262144, MaxOutput: 16384, Reasoning: true, PriceInput: 0.74, PriceOutput: 3.5, PriceCacheRead: 0.15, BaseURL: "https://opencode.ai/zen/go/v1"}, | ||
| 312 | {Provider: "opencode-go", ID: "kimi-k3", DisplayName: "Kimi K3", ContextWindow: 262144, MaxOutput: 131072, Reasoning: true, PriceInput: 3, PriceOutput: 15, PriceCacheRead: 0.3, BaseURL: "https://opencode.ai/zen/go/v1"}, | 312 | {Provider: "opencode-go", ID: "kimi-k3", DisplayName: "Kimi K3", ContextWindow: 262144, MaxOutput: 131072, Reasoning: true, PriceInput: 3, PriceOutput: 15, PriceCacheRead: 0.3, BaseURL: "https://opencode.ai/zen/go/v1"}, | ||
| 313 | - | {Provider: "opencode-go", ID: "mimo-v2-omni", DisplayName: "MiMo V2 Omni", ContextWindow: 262144, MaxOutput: 128000, Reasoning: true, PriceInput: 0.4, PriceOutput: 2, PriceCacheRead: 0.08, BaseURL: "https://opencode.ai/zen/go/v1"}, | |||
| 314 | - | {Provider: "opencode-go", ID: "mimo-v2-pro", DisplayName: "MiMo V2 Pro", ContextWindow: 1048576, MaxOutput: 128000, Reasoning: true, PriceInput: 1, PriceOutput: 3, PriceCacheRead: 0.2, BaseURL: "https://opencode.ai/zen/go/v1"}, | |||
| 315 | {Provider: "opencode-go", ID: "mimo-v2.5", DisplayName: "MiMo V2.5", ContextWindow: 1000000, MaxOutput: 128000, Reasoning: true, PriceInput: 0.4, PriceOutput: 2, PriceCacheRead: 0.08, BaseURL: "https://opencode.ai/zen/go/v1"}, | 313 | {Provider: "opencode-go", ID: "mimo-v2.5", DisplayName: "MiMo V2.5", ContextWindow: 1000000, MaxOutput: 128000, Reasoning: true, PriceInput: 0.4, PriceOutput: 2, PriceCacheRead: 0.08, BaseURL: "https://opencode.ai/zen/go/v1"}, | ||
| 316 | {Provider: "opencode-go", ID: "mimo-v2.5-pro", DisplayName: "MiMo V2.5 Pro", ContextWindow: 1048576, MaxOutput: 128000, Reasoning: true, PriceInput: 1, PriceOutput: 3, PriceCacheRead: 0.2, BaseURL: "https://opencode.ai/zen/go/v1"}, | 314 | {Provider: "opencode-go", ID: "mimo-v2.5-pro", DisplayName: "MiMo V2.5 Pro", ContextWindow: 1048576, MaxOutput: 128000, Reasoning: true, PriceInput: 1, PriceOutput: 3, PriceCacheRead: 0.2, BaseURL: "https://opencode.ai/zen/go/v1"}, | ||
| 317 | {Provider: "opencode-go", ID: "minimax-m2.5", DisplayName: "MiniMax M2.5", ContextWindow: 204800, MaxOutput: 65536, Reasoning: true, PriceInput: 0.3, PriceOutput: 1.2, PriceCacheRead: 0.03, BaseURL: "https://opencode.ai/zen/go"}, | 315 | {Provider: "opencode-go", ID: "minimax-m2.5", DisplayName: "MiniMax M2.5", ContextWindow: 204800, MaxOutput: 65536, Reasoning: true, PriceInput: 0.3, PriceOutput: 1.2, PriceCacheRead: 0.03, BaseURL: "https://opencode.ai/zen/go"}, | ||
M packages/provider/provider_test.go +4 -6
| @@ -447,10 +447,10 @@ func TestGPT56CatalogEntries(t *testing.T) { | |||
| 447 | 447 | } | |
| 448 | 448 | } | |
| 449 | 449 | ||
| 450 | - | // TestOpenCodeGoCatalog pins the OpenCode Go catalog entries that were | |
| 451 | - | // missing from the baked-in list. grok-4.5 and kimi-k3 are on the vendor | |
| 452 | - | // Go docs (https://opencode.ai/docs/go); mimo-v2-omni and mimo-v2-pro are | |
| 453 | - | // served by https://opencode.ai/zen/go/v1/models. | |
| 450 | + | // TestOpenCodeGoCatalog pins the Grok 4.5 and Kimi K3 entries added to | |
| 451 | + | // the OpenCode Go provider. Both are listed in the vendor's current Go | |
| 452 | + | // model lineup (https://opencode.ai/docs/go) and were missing from the | |
| 453 | + | // baked-in catalog. | |
| 454 | 454 | func TestOpenCodeGoCatalog(t *testing.T) { | |
| 455 | 455 | cases := []struct { | |
| 456 | 456 | id string | |
| @@ -462,8 +462,6 @@ func TestOpenCodeGoCatalog(t *testing.T) { | |||
| 462 | 462 | }{ | |
| 463 | 463 | {"grok-4.5", 500000, 500000, 2, 6, 0.3}, | |
| 464 | 464 | {"kimi-k3", 262144, 131072, 3, 15, 0.3}, | |
| 465 | - | {"mimo-v2-omni", 262144, 128000, 0.4, 2, 0.08}, | |
| 466 | - | {"mimo-v2-pro", 1048576, 128000, 1, 3, 0.2}, | |
| 467 | 465 | } | |
| 468 | 466 | for _, tc := range cases { | |
| 469 | 467 | m, err := FindModel("opencode-go", tc.id) | |
| @@ -447,10 +447,10 @@ func TestGPT56CatalogEntries(t *testing.T) { | |||||
| 447 | } | 447 | } | ||
| 448 | } | 448 | } | ||
| 449 | 449 | ||||
| 450 | - | // TestOpenCodeGoCatalog pins the OpenCode Go catalog entries that were | 450 | + | // TestOpenCodeGoCatalog pins the Grok 4.5 and Kimi K3 entries added to |
| 451 | - | // missing from the baked-in list. grok-4.5 and kimi-k3 are on the vendor | 451 | + | // the OpenCode Go provider. Both are listed in the vendor's current Go |
| 452 | - | // Go docs (https://opencode.ai/docs/go); mimo-v2-omni and mimo-v2-pro are | 452 | + | // model lineup (https://opencode.ai/docs/go) and were missing from the |
| 453 | - | // served by https://opencode.ai/zen/go/v1/models. | 453 | + | // baked-in catalog. |
| 454 | func TestOpenCodeGoCatalog(t *testing.T) { | 454 | func TestOpenCodeGoCatalog(t *testing.T) { | ||
| 455 | cases := []struct { | 455 | cases := []struct { | ||
| 456 | id string | 456 | id string | ||
| @@ -462,8 +462,6 @@ func TestOpenCodeGoCatalog(t *testing.T) { | |||||
| 462 | }{ | 462 | }{ | ||
| 463 | {"grok-4.5", 500000, 500000, 2, 6, 0.3}, | 463 | {"grok-4.5", 500000, 500000, 2, 6, 0.3}, | ||
| 464 | {"kimi-k3", 262144, 131072, 3, 15, 0.3}, | 464 | {"kimi-k3", 262144, 131072, 3, 15, 0.3}, | ||
| 465 | - | {"mimo-v2-omni", 262144, 128000, 0.4, 2, 0.08}, | |||
| 466 | - | {"mimo-v2-pro", 1048576, 128000, 1, 3, 0.2}, | |||
| 467 | } | 465 | } | ||
| 468 | for _, tc := range cases { | 466 | for _, tc := range cases { | ||
| 469 | m, err := FindModel("opencode-go", tc.id) | 467 | m, err := FindModel("opencode-go", tc.id) | ||