You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- MiniMax: use Anthropic-style x-api-key (authHeader false); migrate configs; exclude MiniMax from blanket Bearer migration
- Feishu: replace 12s polling with fs.watch on credentials dir; dedupe by openId and throttle without openId
- Version bump and docs (CHANGELOG, README, bundle manifest)
Made-with: Cursor
Copy file name to clipboardExpand all lines: CHANGELOG.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,16 @@
2
2
3
3
All notable changes to OpenClaw Desktop will be documented in this file.
4
4
5
+
## [0.4.2] - 2026-03-26
6
+
7
+
### Fixed
8
+
9
+
-**MiniMax HTTP 401 `invalid api key`:** MiniMax’s Anthropic-compatible API (`https://api.minimax.io/anthropic`) expects **Anthropic-style `x-api-key`** (official docs: `ANTHROPIC_API_KEY` + Anthropic SDK). The shell had set `authHeader: true` (**Bearer**), which MiniMax rejects even when the key is valid. The MiniMax seed no longer sets Bearer; existing `openclaw.json` entries are migrated to **`authHeader: false`** on load. The blanket third-party `anthropic-messages` migration **excludes** MiniMax; OpenCode Zen, Kimi Coding, Synthetic, Cloudflare AI Gateway, etc. are unchanged.
10
+
11
+
### Changed
12
+
13
+
-**Feishu DM pairing notifications:** Replaced the 12s polling loop with **`fs.watch` on `~/.openclaw/credentials`** (debounced) so pairing JSON updates drive notifications; **dedupe by `openId`** and a short throttle when `openId` is missing to avoid repeated toasts when the pairing code rotates.
Copy file name to clipboardExpand all lines: README.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,9 +54,13 @@ If you've been searching for *how to install OpenClaw on Windows*, *how to run O
54
54
55
55
**System:** Windows 10/11 x64 · ~350 MB free space · Internet for API calls
56
56
57
+
## Latest: MiniMax `invalid api key` (401)
58
+
59
+
MiniMax’s Anthropic-compatible base URL (`https://api.minimax.io/anthropic`) expects **Anthropic-style `x-api-key`** ([MiniMax platform docs](https://platform.minimax.io/docs/guides/text-generation): `ANTHROPIC_API_KEY` + Anthropic SDK). Older shell builds set `authHeader: true` (**Bearer**), which MiniMax rejects. Current builds omit Bearer for MiniMax and migrate existing `openclaw.json` to `authHeader: false` on startup. Other third-party `anthropic-messages` hosts (OpenCode Zen, Kimi Coding, Synthetic, Cloudflare AI Gateway, …) may still use `authHeader: true` where required.
60
+
57
61
## What's New in v0.3.4
58
62
59
-
-**MiniMax / Anthropic-compatible 401:**`models.providers.*` now sets **`authHeader: true`** for third-party `anthropic-messages`hosts (same as OpenClaw `extensions/minimax/onboard.ts`). Existing configs are migrated on startup—fixes invalid API key errors when the key is correct but auth headers did not match the host.
63
+
-**Third-party Anthropic-compatible 401 (excluding MiniMax):**`authHeader: true` for hosts that expect Bearer. MiniMax is handled separately (see above).
60
64
61
65
Earlier highlights (v0.3.3): `minimax:global` profile id + auth-profiles migration.
Copy file name to clipboardExpand all lines: src/main/config/openclaw-config.ts
+56-6Lines changed: 56 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -171,10 +171,17 @@ function migrateAuthOrderFullProfileIds(
171
171
return{config: next,changed: true}
172
172
}
173
173
174
+
/** MiniMax Anthropic-compatible hosts use the same credential transport as Anthropic (`x-api-key`), per platform docs (ANTHROPIC_API_KEY + Anthropic SDK). Bearer (`authHeader: true`) yields HTTP 401 invalid api key. */
* so the gateway matches OpenClaw upstream onboard configs. Use `false` for local proxies (e.g. copilot-proxy).
216
+
* Third-party `anthropic-messages` hosts that expect Bearer credentials (Synthetic, OpenCode Zen, Kimi Coding, Cloudflare gateway, etc.) use `true`. MiniMax (`api.minimax.io`) uses Anthropic-style `x-api-key` — omit or `false`. Use `false` for local proxies (e.g. copilot-proxy).
0 commit comments