From b62fed0ea74443069b3f1384bcbf475ac2821330 Mon Sep 17 00:00:00 2001 From: ruochen Date: Sun, 22 Mar 2026 22:46:04 +0800 Subject: [PATCH] Docs: align MiniMax examples with M2.7 --- docs/help/faq.md | 5 ++--- docs/help/testing.md | 8 ++++---- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/docs/help/faq.md b/docs/help/faq.md index c2024424e54..b3209c37124 100644 --- a/docs/help/faq.md +++ b/docs/help/faq.md @@ -2146,12 +2146,11 @@ Quick answers plus deeper troubleshooting for real-world setups (local dev, VPS, This means the **provider isn't configured** (no MiniMax provider config or auth - profile was found), so the model can't be resolved. A fix for this detection is - in **2026.1.12** (unreleased at the time of writing). + profile was found), so the model can't be resolved. Fix checklist: - 1. Upgrade to **2026.1.12** (or run from source `main`), then restart the gateway. + 1. Upgrade to a current OpenClaw release (or run from source `main`), then restart the gateway. 2. Make sure MiniMax is configured (wizard or JSON), or that a MiniMax API key exists in env/auth profiles so the provider can be injected. 3. Use the exact model id (case-sensitive): `minimax/MiniMax-M2.7`, diff --git a/docs/help/testing.md b/docs/help/testing.md index 0e8d0993230..6395acc5548 100644 --- a/docs/help/testing.md +++ b/docs/help/testing.md @@ -306,7 +306,7 @@ Narrow, explicit allowlists are fastest and least flaky: - `OPENCLAW_LIVE_GATEWAY_MODELS="openai/gpt-5.2" pnpm test:live src/gateway/gateway-models.profiles.live.test.ts` - Tool calling across several providers: - - `OPENCLAW_LIVE_GATEWAY_MODELS="openai/gpt-5.2,anthropic/claude-opus-4-6,google/gemini-3-flash-preview,zai/glm-4.7,minimax/minimax-m2.5" pnpm test:live src/gateway/gateway-models.profiles.live.test.ts` + - `OPENCLAW_LIVE_GATEWAY_MODELS="openai/gpt-5.2,anthropic/claude-opus-4-6,google/gemini-3-flash-preview,zai/glm-4.7,minimax/MiniMax-M2.7" pnpm test:live src/gateway/gateway-models.profiles.live.test.ts` - Google focus (Gemini API key + Antigravity): - Gemini (API key): `OPENCLAW_LIVE_GATEWAY_MODELS="google/gemini-3-flash-preview" pnpm test:live src/gateway/gateway-models.profiles.live.test.ts` @@ -335,10 +335,10 @@ This is the “common models” run we expect to keep working: - Google (Gemini API): `google/gemini-3.1-pro-preview` and `google/gemini-3-flash-preview` (avoid older Gemini 2.x models) - Google (Antigravity): `google-antigravity/claude-opus-4-6-thinking` and `google-antigravity/gemini-3-flash` - Z.AI (GLM): `zai/glm-4.7` -- MiniMax: `minimax/minimax-m2.5` +- MiniMax: `minimax/MiniMax-M2.7` Run gateway smoke with tools + image: -`OPENCLAW_LIVE_GATEWAY_MODELS="openai/gpt-5.2,openai-codex/gpt-5.4,anthropic/claude-opus-4-6,google/gemini-3.1-pro-preview,google/gemini-3-flash-preview,google-antigravity/claude-opus-4-6-thinking,google-antigravity/gemini-3-flash,zai/glm-4.7,minimax/minimax-m2.5" pnpm test:live src/gateway/gateway-models.profiles.live.test.ts` +`OPENCLAW_LIVE_GATEWAY_MODELS="openai/gpt-5.2,openai-codex/gpt-5.4,anthropic/claude-opus-4-6,google/gemini-3.1-pro-preview,google/gemini-3-flash-preview,google-antigravity/claude-opus-4-6-thinking,google-antigravity/gemini-3-flash,zai/glm-4.7,minimax/MiniMax-M2.7" pnpm test:live src/gateway/gateway-models.profiles.live.test.ts` ### Baseline: tool calling (Read + optional Exec) @@ -348,7 +348,7 @@ Pick at least one per provider family: - Anthropic: `anthropic/claude-opus-4-6` (or `anthropic/claude-sonnet-4-6`) - Google: `google/gemini-3-flash-preview` (or `google/gemini-3.1-pro-preview`) - Z.AI (GLM): `zai/glm-4.7` -- MiniMax: `minimax/minimax-m2.5` +- MiniMax: `minimax/MiniMax-M2.7` Optional additional coverage (nice to have):