mirror of
https://github.com/moltbot/moltbot.git
synced 2026-04-21 05:32:53 +00:00
docs: refresh minimax auth path refs
This commit is contained in:
@@ -332,8 +332,9 @@ See [/providers/kilocode](/providers/kilocode) for setup details.
|
||||
prompt-cache hints, OpenAI reasoning-compat payloads) is not forwarded
|
||||
- Kilo Gateway: `kilocode` (`KILOCODE_API_KEY`)
|
||||
- Example model: `kilocode/kilo/auto`
|
||||
- MiniMax: `minimax` (`MINIMAX_API_KEY`)
|
||||
- Example model: `minimax/MiniMax-M2.7`
|
||||
- MiniMax: `minimax` (API key) and `minimax-portal` (OAuth)
|
||||
- Auth: `MINIMAX_API_KEY` for `minimax`; `MINIMAX_OAUTH_TOKEN` or `MINIMAX_API_KEY` for `minimax-portal`
|
||||
- Example model: `minimax/MiniMax-M2.7` or `minimax-portal/MiniMax-M2.7`
|
||||
- MiniMax onboarding/API-key setup writes explicit M2.7 model definitions with
|
||||
`input: ["text", "image"]`; the bundled provider catalog keeps the chat refs
|
||||
text-only until that provider config is materialized
|
||||
@@ -557,7 +558,8 @@ MiniMax is configured via `models.providers` because it uses custom endpoints:
|
||||
- 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`
|
||||
- Auth: `MINIMAX_API_KEY` for `minimax`; `MINIMAX_OAUTH_TOKEN` or
|
||||
`MINIMAX_API_KEY` for `minimax-portal`
|
||||
|
||||
See [/providers/minimax](/providers/minimax) for setup details, model options, and config snippets.
|
||||
|
||||
|
||||
@@ -2193,10 +2193,14 @@ for usage/billing and raise limits as needed.
|
||||
Fix checklist:
|
||||
|
||||
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` or
|
||||
`minimax/MiniMax-M2.7-highspeed`.
|
||||
2. Make sure MiniMax is configured (wizard or JSON), or that MiniMax auth
|
||||
exists in env/auth profiles so the matching provider can be injected
|
||||
(`MINIMAX_API_KEY` for `minimax`, `MINIMAX_OAUTH_TOKEN` or stored MiniMax
|
||||
OAuth for `minimax-portal`).
|
||||
3. Use the exact model id (case-sensitive) for your auth path:
|
||||
`minimax/MiniMax-M2.7` or `minimax/MiniMax-M2.7-highspeed` for API-key
|
||||
setup, or `minimax-portal/MiniMax-M2.7` /
|
||||
`minimax-portal/MiniMax-M2.7-highspeed` for OAuth setup.
|
||||
4. Run:
|
||||
|
||||
```bash
|
||||
|
||||
@@ -221,7 +221,9 @@ Current MiniMax auth choices in the wizard/CLI:
|
||||
|
||||
## Notes
|
||||
|
||||
- Model refs are `minimax/<model>`.
|
||||
- Model refs follow the auth path:
|
||||
- API-key setup: `minimax/<model>`
|
||||
- OAuth setup: `minimax-portal/<model>`
|
||||
- Default chat model: `MiniMax-M2.7`
|
||||
- Alternate chat model: `MiniMax-M2.7-highspeed`
|
||||
- On `api: "anthropic-messages"`, OpenClaw injects
|
||||
@@ -247,25 +249,30 @@ Current MiniMax auth choices in the wizard/CLI:
|
||||
- Update pricing values in `models.json` if you need exact cost tracking.
|
||||
- Referral link for MiniMax Coding Plan (10% off): [https://platform.minimax.io/subscribe/coding-plan?code=DbXJTRClnb&source=link](https://platform.minimax.io/subscribe/coding-plan?code=DbXJTRClnb&source=link)
|
||||
- See [/concepts/model-providers](/concepts/model-providers) for provider rules.
|
||||
- Use `openclaw models list` and `openclaw models set minimax/MiniMax-M2.7` to switch.
|
||||
- Use `openclaw models list` to confirm the current provider id, then switch with
|
||||
`openclaw models set minimax/MiniMax-M2.7` or
|
||||
`openclaw models set minimax-portal/MiniMax-M2.7`.
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
### "Unknown model: minimax/MiniMax-M2.7"
|
||||
|
||||
This usually means the **MiniMax provider isn’t configured** (no provider entry
|
||||
and no MiniMax auth profile/env key found). A fix for this detection is in
|
||||
**2026.1.12**. Fix by:
|
||||
This usually means the **MiniMax provider isn’t configured** (no matching
|
||||
provider entry and no MiniMax auth profile/env key found). A fix for this
|
||||
detection is in **2026.1.12**. Fix by:
|
||||
|
||||
- Upgrading to **2026.1.12** (or run from source `main`), then restarting the gateway.
|
||||
- Running `openclaw configure` and selecting a **MiniMax** auth option, or
|
||||
- Adding the `models.providers.minimax` block manually, or
|
||||
- Setting `MINIMAX_API_KEY` (or a MiniMax auth profile) so the provider can be injected.
|
||||
- Adding the matching `models.providers.minimax` or
|
||||
`models.providers.minimax-portal` block manually, or
|
||||
- Setting `MINIMAX_API_KEY`, `MINIMAX_OAUTH_TOKEN`, or a MiniMax auth profile
|
||||
so the matching provider can be injected.
|
||||
|
||||
Make sure the model id is **case‑sensitive**:
|
||||
|
||||
- `minimax/MiniMax-M2.7`
|
||||
- `minimax/MiniMax-M2.7-highspeed`
|
||||
- API-key path: `minimax/MiniMax-M2.7` or `minimax/MiniMax-M2.7-highspeed`
|
||||
- OAuth path: `minimax-portal/MiniMax-M2.7` or
|
||||
`minimax-portal/MiniMax-M2.7-highspeed`
|
||||
|
||||
Then recheck with:
|
||||
|
||||
|
||||
@@ -48,6 +48,8 @@ For a high-level overview, see [Onboarding (CLI)](/start/wizard).
|
||||
- **Cloudflare AI Gateway**: prompts for Account ID, Gateway ID, and `CLOUDFLARE_AI_GATEWAY_API_KEY`.
|
||||
- More detail: [Cloudflare AI Gateway](/providers/cloudflare-ai-gateway)
|
||||
- **MiniMax**: config is auto-written; hosted default is `MiniMax-M2.7`.
|
||||
API-key setup uses `minimax/...`, and OAuth setup uses
|
||||
`minimax-portal/...`.
|
||||
- More detail: [MiniMax](/providers/minimax)
|
||||
- **StepFun**: config is auto-written for StepFun standard or Step Plan on China or global endpoints.
|
||||
- Standard currently includes `step-3.5-flash`, and Step Plan also includes `step-3.5-flash-2603`.
|
||||
|
||||
@@ -180,7 +180,8 @@ What you set:
|
||||
More detail: [Cloudflare AI Gateway](/providers/cloudflare-ai-gateway).
|
||||
</Accordion>
|
||||
<Accordion title="MiniMax">
|
||||
Config is auto-written. Hosted default is `MiniMax-M2.7`.
|
||||
Config is auto-written. Hosted default is `MiniMax-M2.7`; API-key setup uses
|
||||
`minimax/...`, and OAuth setup uses `minimax-portal/...`.
|
||||
More detail: [MiniMax](/providers/minimax).
|
||||
</Accordion>
|
||||
<Accordion title="StepFun">
|
||||
|
||||
Reference in New Issue
Block a user