From b99559df2d917c192a5f216601a7f05ddba016f7 Mon Sep 17 00:00:00 2001 From: Zoe <62722391+juls0730@users.noreply.github.com> Date: Tue, 5 May 2026 17:27:20 -0500 Subject: [PATCH] refactor(opencode-go): extends mimo models from xiaomi provider --- .../opencode-go/models/mimo-v2-omni.toml | 26 ++-------------- providers/opencode-go/models/mimo-v2-pro.toml | 31 ++----------------- .../opencode-go/models/mimo-v2.5-pro.toml | 31 ++----------------- providers/opencode-go/models/mimo-v2.5.toml | 31 ++----------------- 4 files changed, 8 insertions(+), 111 deletions(-) diff --git a/providers/opencode-go/models/mimo-v2-omni.toml b/providers/opencode-go/models/mimo-v2-omni.toml index 02e37c18b..b16bcf032 100644 --- a/providers/opencode-go/models/mimo-v2-omni.toml +++ b/providers/opencode-go/models/mimo-v2-omni.toml @@ -1,26 +1,4 @@ name = "MiMo V2 Omni" -family = "mimo-v2-omni" -release_date = "2026-03-18" -last_updated = "2026-03-18" -attachment = true -reasoning = true -temperature = true -tool_call = true -knowledge = "2024-12" -open_weights = true -[interleaved] -field = "reasoning_content" - -[cost] -input = 0.40 -output = 2.00 -cache_read = 0.08 - -[limit] -context = 262_144 -output = 128_000 - -[modalities] -input = ["text", "image", "audio", "pdf"] -output = ["text"] +[extends] +from = "xiaomi/mimo-v2-omni" diff --git a/providers/opencode-go/models/mimo-v2-pro.toml b/providers/opencode-go/models/mimo-v2-pro.toml index 5f8d7b103..864e29c1e 100644 --- a/providers/opencode-go/models/mimo-v2-pro.toml +++ b/providers/opencode-go/models/mimo-v2-pro.toml @@ -1,31 +1,4 @@ name = "MiMo V2 Pro" -family = "mimo-v2-pro" -release_date = "2026-03-18" -last_updated = "2026-03-18" -attachment = true -reasoning = true -temperature = true -tool_call = true -knowledge = "2024-12" -open_weights = true -[interleaved] -field = "reasoning_content" - -[cost] -input = 1.00 -output = 3.00 -cache_read = 0.20 - -[cost.context_over_200k] -input = 2.00 -output = 6.00 -cache_read = 0.40 - -[limit] -context = 1_048_576 -output = 128_000 - -[modalities] -input = ["text"] -output = ["text"] +[extends] +from = "xiaomi/mimo-v2-pro" diff --git a/providers/opencode-go/models/mimo-v2.5-pro.toml b/providers/opencode-go/models/mimo-v2.5-pro.toml index 56f348c6a..19b958ffe 100644 --- a/providers/opencode-go/models/mimo-v2.5-pro.toml +++ b/providers/opencode-go/models/mimo-v2.5-pro.toml @@ -1,31 +1,4 @@ name = "MiMo V2.5 Pro" -family = "mimo-v2.5-pro" -release_date = "2026-04-22" -last_updated = "2026-04-22" -attachment = true -reasoning = true -temperature = true -tool_call = true -knowledge = "2024-12" -open_weights = true -[interleaved] -field = "reasoning_content" - -[cost] -input = 1.00 -output = 3.00 -cache_read = 0.20 - -[cost.context_over_200k] -input = 2.00 -output = 6.00 -cache_read = 0.40 - -[limit] -context = 1_048_576 -output = 128_000 - -[modalities] -input = ["text"] -output = ["text"] +[extends] +from = "xiaomi/mimo-v2.5-pro" diff --git a/providers/opencode-go/models/mimo-v2.5.toml b/providers/opencode-go/models/mimo-v2.5.toml index fcdb72e5a..b42511874 100644 --- a/providers/opencode-go/models/mimo-v2.5.toml +++ b/providers/opencode-go/models/mimo-v2.5.toml @@ -1,31 +1,4 @@ name = "MiMo V2.5" -family = "mimo-v2.5" -release_date = "2026-04-22" -last_updated = "2026-04-22" -attachment = true -reasoning = true -temperature = true -tool_call = true -knowledge = "2024-12" -open_weights = true -[interleaved] -field = "reasoning_content" - -[cost] -input = 0.40 -output = 2.00 -cache_read = 0.08 - -[cost.context_over_200k] -input = 0.80 -output = 4.00 -cache_read = 0.16 - -[limit] -context = 1_000_000 -output = 128_000 - -[modalities] -input = ["text", "image", "audio", "video"] -output = ["text"] +[extends] +from = "xiaomi/mimo-v2.5"