From da520e573a2d2eb5a5b23768c6ed078941fa907d Mon Sep 17 00:00:00 2001 From: xwsjjctz <2251658569@qq.com> Date: Sun, 15 Mar 2026 21:37:44 +0800 Subject: [PATCH] feat(provider): add MiniMax (#6318) * feat(provider): add MiniMax * feat(provider): reintroduce MiniMax provider configuration and remove deprecated source --------- Co-authored-by: Soulter <905617992@qq.com> --- astrbot/core/config/default.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/astrbot/core/config/default.py b/astrbot/core/config/default.py index 16d7e89e3..41d09c45d 100644 --- a/astrbot/core/config/default.py +++ b/astrbot/core/config/default.py @@ -1132,6 +1132,18 @@ CONFIG_METADATA_2 = { "proxy": "", "custom_headers": {}, }, + "MiniMax": { + "id": "minimax", + "provider": "minimax", + "type": "openai_chat_completion", + "provider_type": "chat_completion", + "enable": True, + "key": [], + "api_base": "https://api.minimaxi.com/v1", + "timeout": 120, + "proxy": "", + "custom_headers": {}, + }, "xAI": { "id": "xai", "provider": "xai",