From 9c9af25acd1d70af044ae05e8132b92b7d2728d4 Mon Sep 17 00:00:00 2001 From: Blade <46746496+Blade096@users.noreply.github.com> Date: Wed, 11 Feb 2026 20:58:33 +0800 Subject: [PATCH] Fix/minimax cn cant use in combo (#107) * fix(provider): correct minimax-cn to alias mapping Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode) Co-authored-by: Sisyphus (cherry picked from commit 315c6fc91b06584b101a4078affef3bb3b0f7001) * fix(provider): add minimax-cn model list to PROVIDER_MODELS (cherry picked from commit 15bc2d070306f48da4887a6286ec2a6007300705) --------- Co-authored-by: Sisyphus --- open-sse/config/providerModels.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/open-sse/config/providerModels.js b/open-sse/config/providerModels.js index 40a32079..ad97b47a 100644 --- a/open-sse/config/providerModels.js +++ b/open-sse/config/providerModels.js @@ -150,6 +150,9 @@ export const PROVIDER_MODELS = { minimax: [ { id: "MiniMax-M2.1", name: "MiniMax M2.1" }, ], + "minimax-cn": [ + { id: "MiniMax-M2.1", name: "MiniMax M2.1" }, + ], }; // Helper functions @@ -202,7 +205,7 @@ export const PROVIDER_ID_TO_ALIAS = { "glm-cn": "glm-cn", kimi: "kimi", minimax: "minimax", - "minimax-cn": "minimax", + "minimax-cn": "minimax-cn", }; export function getModelsByProviderId(providerId) {