openclaw/src
moktamd 2701e75f40 fix: disable thinking for MiniMax anthropic-messages streaming
MiniMax M2.7 returns reasoning_content in OpenAI-style delta chunks
({delta: {content: "", reasoning_content: "..."}}) when thinking is
active, rather than native Anthropic thinking block SSE events. Pi-ai's
Anthropic provider does not handle this format, causing the model's
internal reasoning to appear as visible chat output.

Add createMinimaxThinkingDisabledWrapper that injects
thinking: {type: "disabled"} into the outgoing payload for any MiniMax
anthropic-messages request where thinking is not already explicitly
configured, preventing the provider from generating reasoning_content
deltas during streaming.

Fixes #55739
2026-04-04 20:21:37 +09:00
..
acp
agents fix: disable thinking for MiniMax anthropic-messages streaming 2026-04-04 20:21:37 +09:00
auto-reply fix: scope live model switch pending state (#60266) (thanks @kiranvk-2011) 2026-04-04 19:45:53 +09:00
bindings
bootstrap
canvas-host
channels refactor(plugin-sdk): split runtime helper seams 2026-04-04 08:53:19 +01:00
chat
cli style(auth): normalize auth choice formatting 2026-04-04 12:19:08 +01:00
commands style(auth): normalize auth choice formatting 2026-04-04 12:19:08 +01:00
compat
config style(auth): normalize auth choice formatting 2026-04-04 12:19:08 +01:00
context-engine
cron fix(cron): reject unsafe custom session targets earlier 2026-04-04 20:13:39 +09:00
daemon
docs
flows style(providers): normalize import and wrap formatting 2026-04-04 12:19:08 +01:00
gateway style(auth): normalize auth choice formatting 2026-04-04 12:19:08 +01:00
generated feat(memory): harden dreaming and multilingual memory promotion (#60697) 2026-04-04 15:48:13 +09:00
hooks test: align hook install unsafe flag assertion 2026-04-04 05:27:57 +01:00
i18n
image-generation
infra style(auth): normalize auth choice formatting 2026-04-04 12:19:08 +01:00
interactive
link-understanding
logging perf(cli): trim gateway status startup imports 2026-04-04 08:59:56 +01:00
markdown
mcp
media
media-understanding test: harden media provider auto-registration (#56279) (thanks @Ezio0) 2026-04-04 19:35:28 +09:00
node-host
pairing fix(auth): hand off qr bootstrap to bounded device tokens 2026-04-04 15:57:38 +09:00
plugin-sdk refactor(providers): add stream family hooks 2026-04-04 20:19:53 +09:00
plugins style(auth): normalize auth choice formatting 2026-04-04 12:19:08 +01:00
process fix(ci): repair zalouser sdk path and exec timeout kill 2026-04-04 04:51:33 +01:00
realtime-transcription
realtime-voice
routing fix(control-ui): keep session key helpers browser-safe 2026-04-03 20:39:36 -07:00
scripts perf: split more targeted test lanes 2026-04-04 06:05:24 +01:00
secrets style(providers): normalize import and wrap formatting 2026-04-04 12:19:08 +01:00
security fix(ci): align contract expectations 2026-04-04 12:29:11 +09:00
sessions fix: scope live model switch pending state (#60266) (thanks @kiranvk-2011) 2026-04-04 19:45:53 +09:00
shared refactor: centralize gateway method policy helpers 2026-04-04 20:07:18 +09:00
tasks fix(runtime): restore gateway watch on legacy state 2026-04-04 09:18:28 +01:00
terminal
test-helpers
test-utils fix(ci): await async provider test registration 2026-04-04 09:28:43 +01:00
tts
tui
types
utils refactor(providers): centralize provider model policy 2026-04-04 06:16:48 +01:00
web-fetch
web-search
wizard
browser-lifecycle-cleanup.test.ts refactor(browser): share lifecycle cleanup helpers 2026-04-04 12:17:46 +01:00
browser-lifecycle-cleanup.ts refactor(browser): share lifecycle cleanup helpers 2026-04-04 12:17:46 +01:00
channel-web.ts
docker-build-cache.test.ts
docker-image-digests.test.ts
docker-setup.e2e.test.ts
dockerfile.test.ts
entry.respawn.test.ts
entry.respawn.ts
entry.test.ts
entry.ts
entry.version-fast-path.test.ts
extensionAPI.ts
global-state.ts
globals.ts
index.test.ts
index.ts
install-sh-version.test.ts
library.test.ts
library.ts
logger.test.ts
logger.ts
logging.ts
param-key.ts
plugin-activation-boundary.test.ts
poll-params.test.ts
poll-params.ts
polls.test.ts
polls.ts
runtime.ts
ui-app-settings.agents-files-refresh.test.ts fix(ci): align settings host test fixtures 2026-04-04 06:08:26 +01:00
utils.test.ts
utils.ts
version.test.ts
version.ts