From ee97f9c9fb7b02e5632d0febbcaca31fd56f137b Mon Sep 17 00:00:00 2001 From: Octopus Date: Wed, 3 Jun 2026 00:50:19 +0800 Subject: [PATCH] feat: upgrade MiniMax default model to M3 - Add MiniMax-M3 to model list and set as default - Keep MiniMax-M2.7 and MiniMax-M2.7-highspeed as alternatives - Remove older models (M2.5/M2.5-highspeed) - Update M2.7 description to reflect previous generation status --- .../minimax_model_provider.py | 31 +++++++------------ 1 file changed, 11 insertions(+), 20 deletions(-) diff --git a/apps/models_provider/impl/minimax_model_provider/minimax_model_provider.py b/apps/models_provider/impl/minimax_model_provider/minimax_model_provider.py index 082d47aeec2..2910a73c673 100644 --- a/apps/models_provider/impl/minimax_model_provider/minimax_model_provider.py +++ b/apps/models_provider/impl/minimax_model_provider/minimax_model_provider.py @@ -28,33 +28,25 @@ minimax_ttv_model_credential = TextToVideoModelCredential() minimax_itv_model_credential = ImageToVideoModelCredential() -minimax_m2_7 = ModelInfo( - "MiniMax-M2.7", - _("Latest flagship model with enhanced reasoning and coding. 204K context window"), +minimax_m3 = ModelInfo( + "MiniMax-M3", + _("Latest flagship model with 512K context window, 128K max output, and image input support"), ModelTypeConst.LLM, minimax_llm_model_credential, MiniMaxChatModel, ) -minimax_m2_7_highspeed = ModelInfo( - "MiniMax-M2.7-highspeed", - _("High-speed version of M2.7 for low-latency scenarios. 204K context window"), - ModelTypeConst.LLM, - minimax_llm_model_credential, - MiniMaxChatModel, -) - -minimax_m2_5 = ModelInfo( - "MiniMax-M2.5", - _("Peak Performance. Ultimate Value. 204K context window"), +minimax_m2_7 = ModelInfo( + "MiniMax-M2.7", + _("Previous generation model with enhanced reasoning and coding. 204K context window"), ModelTypeConst.LLM, minimax_llm_model_credential, MiniMaxChatModel, ) -minimax_m2_5_highspeed = ModelInfo( - "MiniMax-M2.5-highspeed", - _("Same performance, faster and more agile. 204K context window"), +minimax_m2_7_highspeed = ModelInfo( + "MiniMax-M2.7-highspeed", + _("High-speed version of M2.7 for low-latency scenarios. 204K context window"), ModelTypeConst.LLM, minimax_llm_model_credential, MiniMaxChatModel, @@ -88,11 +80,10 @@ ] model_info_manage = ( ModelInfoManage.builder() + .append_model_info(minimax_m3) .append_model_info(minimax_m2_7) .append_model_info(minimax_m2_7_highspeed) - .append_model_info(minimax_m2_5) - .append_model_info(minimax_m2_5_highspeed) - .append_default_model_info(minimax_m2_7) + .append_default_model_info(minimax_m3) .append_model_info(minimax_tts_hd) .append_model_info(minimax_tts_turbo) .append_default_model_info(minimax_tts_hd)