From 87f512f80d87f3ea57b763234a9aadafa1ed0476 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sat, 4 Apr 2026 09:47:01 +0100 Subject: [PATCH] docs: refresh minimax auth choice refs --- docs/concepts/model-providers.md | 5 +++- docs/gateway/configuration-reference.md | 4 ++- docs/providers/minimax.md | 34 +++++++++++++++++-------- 3 files changed, 31 insertions(+), 12 deletions(-) diff --git a/docs/concepts/model-providers.md b/docs/concepts/model-providers.md index 855db10ddf8..1beb5692fca 100644 --- a/docs/concepts/model-providers.md +++ b/docs/concepts/model-providers.md @@ -521,7 +521,10 @@ Synthetic provides Anthropic-compatible models behind the `synthetic` provider: MiniMax is configured via `models.providers` because it uses custom endpoints: -- MiniMax (Anthropic‑compatible): `--auth-choice minimax-api` +- MiniMax OAuth (Global): `--auth-choice minimax-global-oauth` +- MiniMax OAuth (CN): `--auth-choice minimax-cn-oauth` +- MiniMax API key (Global): `--auth-choice minimax-global-api` +- MiniMax API key (CN): `--auth-choice minimax-cn-api` - Auth: `MINIMAX_API_KEY` See [/providers/minimax](/providers/minimax) for setup details, model options, and config snippets. diff --git a/docs/gateway/configuration-reference.md b/docs/gateway/configuration-reference.md index 8a7c042b54d..17f349ae3cf 100644 --- a/docs/gateway/configuration-reference.md +++ b/docs/gateway/configuration-reference.md @@ -2443,7 +2443,9 @@ Base URL should omit `/v1` (Anthropic client appends it). Shortcut: `openclaw on } ``` -Set `MINIMAX_API_KEY`. Shortcut: `openclaw onboard --auth-choice minimax-api`. +Set `MINIMAX_API_KEY`. Shortcuts: +`openclaw onboard --auth-choice minimax-global-api` or +`openclaw onboard --auth-choice minimax-cn-api`. The model catalog now defaults to M2.7 only. diff --git a/docs/providers/minimax.md b/docs/providers/minimax.md index 2e3f5c5695a..f69b2651c22 100644 --- a/docs/providers/minimax.md +++ b/docs/providers/minimax.md @@ -51,18 +51,18 @@ refs as text-only metadata until explicit provider config is materialized. **Best for:** quick setup with MiniMax Coding Plan via OAuth, no API key required. -Enable the bundled OAuth plugin and authenticate: +Authenticate with the explicit regional OAuth choice: ```bash -openclaw plugins enable minimax # skip if already loaded. -openclaw gateway restart # restart if gateway is already running -openclaw onboard --auth-choice minimax-portal +openclaw onboard --auth-choice minimax-global-oauth +# or +openclaw onboard --auth-choice minimax-cn-oauth ``` -You will be prompted to select an endpoint: +Choice mapping: -- **Global** - International users (`api.minimax.io`) -- **CN** - Users in China (`api.minimaxi.com`) +- `minimax-global-oauth`: International users (`api.minimax.io`) +- `minimax-cn-oauth`: Users in China (`api.minimaxi.com`) See the MiniMax plugin package README in the OpenClaw repo for details. @@ -72,9 +72,16 @@ See the MiniMax plugin package README in the OpenClaw repo for details. Configure via CLI: -- Run `openclaw configure` -- Select **Model/auth** -- Choose a **MiniMax** auth option +- Interactive onboarding: + +```bash +openclaw onboard --auth-choice minimax-global-api +# or +openclaw onboard --auth-choice minimax-cn-api +``` + +- `minimax-global-api`: International users (`api.minimax.io`) +- `minimax-cn-api`: Users in China (`api.minimaxi.com`) ```json5 { @@ -145,6 +152,13 @@ Use the interactive config wizard to set MiniMax without editing JSON: 3. Choose a **MiniMax** auth option. 4. Pick your default model when prompted. +Current MiniMax auth choices in the wizard/CLI: + +- `minimax-global-oauth` +- `minimax-cn-oauth` +- `minimax-global-api` +- `minimax-cn-api` + ## Configuration options - `models.providers.minimax.baseUrl`: prefer `https://api.minimax.io/anthropic` (Anthropic-compatible); `https://api.minimax.io/v1` is optional for OpenAI-compatible payloads.