fix(providers): remove deprecated MiMo v2 entries (#6248)

chore(providers): remove deprecated MiMo V2 catalog entries (superseded by V2.5); realign provider-catalog tests. Merged — thank you, @backryun! Base-reds only. Integrated into release/v3.8.45.
This commit is contained in:
backryun
2026-07-05 19:54:57 +09:00
committed by GitHub
parent 9285dc1b89
commit 4d330dafa9
10 changed files with 50 additions and 54 deletions

View File

@@ -228,8 +228,8 @@ describe("OpencodeExecutor", () => {
// Register new models
registerModel("opencode-go", { id: "glm-5.1", name: "GLM-5.1", contextLength: 204800 });
registerModel("opencode-go", { id: "kimi-k2.6", name: "Kimi K2.6" });
registerModel("opencode-go", { id: "mimo-v2-pro", name: "MiMo V2 Pro" });
registerModel("opencode-go", { id: "mimo-v2-omni", name: "MiMo V2 Omni" });
registerModel("opencode-go", { id: "mimo-v2.5-pro", name: "MiMo V2.5 Pro" });
registerModel("opencode-go", { id: "mimo-v2.5", name: "MiMo V2.5" });
// glm-5.1
const glm51 = await goExecutor.execute(createInput("glm-5.1"));
@@ -239,13 +239,13 @@ describe("OpencodeExecutor", () => {
const kimi26 = await goExecutor.execute(createInput("kimi-k2.6"));
assert.equal(kimi26.url, "https://opencode.ai/zen/go/v1/chat/completions");
// mimo-v2-pro
const mimoPro = await goExecutor.execute(createInput("mimo-v2-pro"));
// mimo-v2.5-pro
const mimoPro = await goExecutor.execute(createInput("mimo-v2.5-pro"));
assert.equal(mimoPro.url, "https://opencode.ai/zen/go/v1/chat/completions");
// mimo-v2-omni
const mimoOmni = await goExecutor.execute(createInput("mimo-v2-omni"));
assert.equal(mimoOmni.url, "https://opencode.ai/zen/go/v1/chat/completions");
// mimo-v2.5
const mimo = await goExecutor.execute(createInput("mimo-v2.5"));
assert.equal(mimo.url, "https://opencode.ai/zen/go/v1/chat/completions");
});
it("routes opencode-go qwen models to claude messages endpoint", async () => {
@@ -278,21 +278,21 @@ describe("OpencodeExecutor", () => {
it("routes opencode-go catalog-only models to chat completions", async () => {
// Register new models
registerModel("opencode-go", { id: "glm-6-max", name: "GLM-6 Max" });
registerModel("opencode-go", { id: "mimo-v2-pro", name: "MiMo-V2-Pro" });
registerModel("opencode-go", { id: "mimo-v2-omni", name: "MiMo-V2-Omni" });
registerModel("opencode-go", { id: "mimo-v2.5-pro", name: "MiMo-V2.5-Pro" });
registerModel("opencode-go", { id: "mimo-v2.5", name: "MiMo-V2.5" });
registerModel("opencode-go", { id: "hy3-preview", name: "Hunyuan3 Preview" });
// glm-6-max
const glm6 = await goExecutor.execute(createInput("glm-6-max"));
assert.equal(glm6.url, "https://opencode.ai/zen/go/v1/chat/completions");
// mimo-v2-pro
const mimoPro = await goExecutor.execute(createInput("mimo-v2-pro"));
// mimo-v2.5-pro
const mimoPro = await goExecutor.execute(createInput("mimo-v2.5-pro"));
assert.equal(mimoPro.url, "https://opencode.ai/zen/go/v1/chat/completions");
// mimo-v2-omni
const mimoOmni = await goExecutor.execute(createInput("mimo-v2-omni"));
assert.equal(mimoOmni.url, "https://opencode.ai/zen/go/v1/chat/completions");
// mimo-v2.5
const mimo = await goExecutor.execute(createInput("mimo-v2.5"));
assert.equal(mimo.url, "https://opencode.ai/zen/go/v1/chat/completions");
// hy3-preview
const hy3 = await goExecutor.execute(createInput("hy3-preview"));