From d51f532710926c3d9993e5247b4ab89442b61193 Mon Sep 17 00:00:00 2001 From: octo-patch Date: Wed, 3 Jun 2026 05:21:45 +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 - Remove older models (M2.5/M2.5-highspeed) - Update related docs and help text --- README.md | 2 +- python/agentseal/cli.py | 2 +- python/agentseal/config.py | 4 ++-- python/agentseal/connectors/minimax.py | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 613390d..7f91c07 100644 --- a/README.md +++ b/README.md @@ -285,7 +285,7 @@ The npm package provides the same CLI commands (`agentseal guard`, `scan`, `scan |---|---|:---:| | OpenAI | `--model gpt-4o` | `OPENAI_API_KEY` | | Anthropic | `--model claude-sonnet-4-5-20250929` | `ANTHROPIC_API_KEY` | -| MiniMax | `--model MiniMax-M2.7` | `MINIMAX_API_KEY` | +| MiniMax | `--model MiniMax-M3` | `MINIMAX_API_KEY` | | Ollama | `--model ollama/llama3.1:8b` | None | | LiteLLM | `--model any --litellm-url http://...` | Varies | | HTTP | `--url http://your-agent.com/chat` | None | diff --git a/python/agentseal/cli.py b/python/agentseal/cli.py index 035b5b5..2fe0e0e 100644 --- a/python/agentseal/cli.py +++ b/python/agentseal/cli.py @@ -194,7 +194,7 @@ def main(): # Model (required for prompt/file mode) scan_parser.add_argument("--model", "-m", type=str, default=None, - help="Model to test against (e.g. gpt-4o, claude-sonnet-4-5-20250929, MiniMax-M2.7, ollama/qwen3-32b)") + help="Model to test against (e.g. gpt-4o, claude-sonnet-4-5-20250929, MiniMax-M3, ollama/qwen3-32b)") # LLM connection scan_parser.add_argument("--api-key", type=str, default=None, diff --git a/python/agentseal/config.py b/python/agentseal/config.py index 9dfd681..336357a 100644 --- a/python/agentseal/config.py +++ b/python/agentseal/config.py @@ -59,10 +59,10 @@ def get_setup_guide() -> str: # Or: export OPENAI_API_KEY=sk-xxxxx MiniMax: - agentseal config set model MiniMax-M2.7 + agentseal config set model MiniMax-M3 agentseal config set api-key xxxxx # Or: export MINIMAX_API_KEY=xxxxx - # Models: MiniMax-M2.7, MiniMax-M2.7-highspeed, MiniMax-M2.5, MiniMax-M2.5-highspeed + # Models: MiniMax-M3 (default), MiniMax-M2.7, MiniMax-M2.7-highspeed OpenRouter (any model, one API key): agentseal config set model openrouter/anthropic/claude-haiku-4-5-20251001 diff --git a/python/agentseal/connectors/minimax.py b/python/agentseal/connectors/minimax.py index d8235d9..c32f967 100644 --- a/python/agentseal/connectors/minimax.py +++ b/python/agentseal/connectors/minimax.py @@ -14,7 +14,7 @@ def build_minimax_chat(model: str, system_prompt: str, api_key: str = None): MiniMax provides an OpenAI-compatible API at https://api.minimax.io/v1. Args: - model: Model name (e.g. "MiniMax-M2.7", "MiniMax-M2.7-highspeed"). + model: Model name (e.g. "MiniMax-M3", "MiniMax-M2.7", "MiniMax-M2.7-highspeed"). system_prompt: The system prompt to use. api_key: API key (falls back to MINIMAX_API_KEY env). """