openclaw/src
lbo728 b863316e7b fix(models): preserve user reasoning override when merging with built-in catalog
When a built-in provider model has reasoning:true (e.g. MiniMax-M2.5) and
the user explicitly sets reasoning:false in their config, mergeProviderModels
unconditionally overwrote the user's value with the built-in catalog value.

The merge code refreshes capability metadata (input, contextWindow, maxTokens,
reasoning) from the implicit catalog. This is correct for fields like
contextWindow and maxTokens — the catalog has authoritative values that
shouldn't be stale. But reasoning is a user preference, not just a
capability descriptor: users may need to disable it to avoid 'Message
ordering conflict' errors with certain models or backends.

Fix: check whether 'reasoning' is present in the explicit (user-supplied)
model entry. If the user has set it (even to false), honour that value.
If the user hasn't set it, fall back to the built-in catalog default.

This allows users to configure tools.models.providers.minimax.models with
reasoning:false for MiniMax-M2.5 without being silently overridden.

Fixes #25244
2026-02-24 14:22:02 +00:00
..
acp
agents fix(models): preserve user reasoning override when merging with built-in catalog 2026-02-24 14:22:02 +00:00
auto-reply Auto-reply: normalize stop matching and add multilingual triggers (#25103) 2026-02-24 01:07:25 -05:00
browser test: fix gate regressions 2026-02-24 04:39:53 +00:00
canvas-host
channels fix: harden legacy plugin schema compatibility tests (#24933) (thanks @pandego) 2026-02-24 03:50:53 +00:00
cli fix(cli): replace stale doctor/restart command hints (#24485) 2026-02-24 14:49:59 +05:30
commands fix(cli): replace stale doctor/restart command hints (#24485) 2026-02-24 14:49:59 +05:30
compat
config test: fix gate regressions 2026-02-24 04:39:53 +00:00
cron fix(cron): treat embedded error payloads as run failures 2026-02-24 04:33:50 +00:00
daemon fix: back up existing systemd unit before overwriting on update (#24350) (#24937) 2026-02-24 03:22:55 +00:00
discord test(discord): add regression tests for reasoning tag stripping in stream 2026-02-24 04:37:30 +00:00
docs
gateway fix(gateway): allow trusted-proxy control-ui auth to skip device pairing 2026-02-24 14:17:54 +00:00
hooks fix(agents): include SOUL.md, IDENTITY.md, USER.md in subagent/cron bootstrap allowlist 2026-02-24 04:04:35 +00:00
imessage
infra fix: polish bare wildcard allowlist handling (#25250) (thanks @widingmarcus-cyber) 2026-02-24 14:20:11 +00:00
line
link-understanding
logging
markdown
media fix(security): harden session export image data-url handling 2026-02-24 02:53:39 +00:00
media-understanding
memory
node-host fix(security): trust resolved skill-bin paths in allowlist auto-allow 2026-02-24 03:12:43 +00:00
pairing
plugin-sdk
plugins fix(plugins): pass session context to before_compaction hook in subscribe handler 2026-02-24 04:33:50 +00:00
process test: fix gate regressions 2026-02-24 04:39:53 +00:00
providers
routing fix: normalize input peer.kind in resolveAgentRoute (#22730) 2026-02-24 04:33:50 +00:00
scripts
security feat(security): warn on likely multi-user trust-model mismatch 2026-02-24 14:03:19 +00:00
sessions
shared fix: scope Telegram RFC2544 SSRF exception to policy opt-in (#24982) (thanks @stakeswky) 2026-02-24 03:28:00 +00:00
signal
slack
telegram Auto-reply: normalize stop matching and add multilingual triggers (#25103) 2026-02-24 01:07:25 -05:00
terminal
test-helpers
test-utils
tts
tui test: fix post-merge config and tui command-handler tests 2026-02-24 04:38:21 +00:00
types
utils
web fix(whatsapp): groupAllowFrom sender filter bypassed when groupPolicy is allowlist (#24670) 2026-02-24 04:20:30 +00:00
whatsapp
wizard
channel-web.ts
docker-image-digests.test.ts
docker-setup.test.ts
dockerfile.test.ts
entry.ts
extensionAPI.ts
globals.ts
index.ts
logger.test.ts
logger.ts
logging.ts
polls.test.ts
polls.ts
runtime.ts
utils.test.ts
utils.ts
version.test.ts
version.ts