openclaw/src
Pablo Nunez 5acec7f79b fix: wire agents.defaults.imageModel into media understanding auto-discovery
resolveAutoEntries only checked a hardcoded list of providers
(openai, anthropic, google, minimax) when looking for an image model.
agents.defaults.imageModel was never consulted by the media understanding
pipeline — it was only wired into the explicit `image` tool.

Add resolveImageModelFromAgentDefaults that reads the imageModel config
(primary + fallbacks) and inserts it into the auto-discovery chain before
the hardcoded provider list.  runProviderEntry already falls back to
describeImageWithModel (via pi-ai) for providers not in the media
understanding registry, so no additional provider registration is needed.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
(cherry picked from commit b381029ede)
2026-02-18 00:08:27 +01:00
..
acp chore: Fix types in tests 39/N. 2026-02-17 15:50:07 +09:00
agents feat(models): support anthropic sonnet 4.6 2026-02-18 00:00:31 +01:00
auto-reply fix(signal): canonicalize message targets in tool and inbound flows 2026-02-17 14:17:22 -08:00
browser test: add fetch mock helper and reaction coverage 2026-02-17 09:02:39 -05:00
canvas-host chore: wtf. 2026-02-17 13:36:48 +09:00
channels fix(signal): canonicalize message targets in tool and inbound flows 2026-02-17 14:17:22 -08:00
cli feat(cron): add default stagger controls for scheduled jobs 2026-02-17 23:48:14 +01:00
commands feat(models): support anthropic sonnet 4.6 2026-02-18 00:00:31 +01:00
compat
config feat(models): support anthropic sonnet 4.6 2026-02-18 00:00:31 +01:00
cron fix(cron): retry next-second schedule compute on undefined 2026-02-17 23:48:14 +01:00
daemon fix(daemon): guard preferred node selection 2026-02-17 10:01:54 -05:00
discord test(discord): cover auto-thread skip types 2026-02-17 09:19:04 -05:00
docs
gateway feat(models): support anthropic sonnet 4.6 2026-02-18 00:00:31 +01:00
hooks chore: Fix types in tests 37/N. 2026-02-17 15:50:07 +09:00
imessage chore: wtf. 2026-02-17 13:36:48 +09:00
infra docs(cli): add components send example 2026-02-17 09:58:47 -05:00
line chore: Fix types in tests 37/N. 2026-02-17 15:50:07 +09:00
link-understanding chore: wtf. 2026-02-17 13:36:48 +09:00
logging chore: wtf. 2026-02-17 13:36:48 +09:00
macos
markdown chore: wtf. 2026-02-17 13:36:48 +09:00
media chore: Fix types in tests 37/N. 2026-02-17 15:50:07 +09:00
media-understanding fix: wire agents.defaults.imageModel into media understanding auto-discovery 2026-02-18 00:08:27 +01:00
memory test: cover cron telemetry and typed fetch mocks 2026-02-17 09:47:29 -05:00
node-host
pairing chore: Fix types in tests 36/N. 2026-02-17 15:50:07 +09:00
plugin-sdk chore: wtf. 2026-02-17 13:36:48 +09:00
plugins chore(subagents): add regression coverage and changelog 2026-02-17 08:40:36 -05:00
process chore: Fix types in tests 35/N. 2026-02-17 15:50:07 +09:00
providers chore: Fix types in tests 35/N. 2026-02-17 15:50:07 +09:00
routing chore: wtf. 2026-02-17 13:36:48 +09:00
scripts
security chore: Fix types in tests 35/N. 2026-02-17 15:50:07 +09:00
sessions chore: wtf. 2026-02-17 13:36:48 +09:00
shared refactor(shared): reuse chat content extractor for assistant text 2026-02-17 00:53:44 +00:00
signal fix(signal): canonicalize message targets in tool and inbound flows 2026-02-17 14:17:22 -08:00
slack revert: fix models set catalog validation (#19194) 2026-02-17 09:43:41 -05:00
telegram fix: sanitize native command names for Telegram API (#19257) 2026-02-17 23:20:36 +05:30
terminal
test-helpers
test-utils revert: fix models set catalog validation (#19194) 2026-02-17 09:43:41 -05:00
tts chore: wtf. 2026-02-17 13:36:48 +09:00
tui chore: Fix types in tests 34/N. 2026-02-17 15:50:07 +09:00
types
utils chore: Fix types in tests 34/N. 2026-02-17 15:50:07 +09:00
web test(web): fix baileys mock typing 2026-02-17 08:44:42 -05:00
whatsapp
wizard Configure: improve searchable model picker token matching 2026-02-17 09:15:55 +01:00
channel-web.ts
docker-setup.test.ts
dockerfile.test.ts test(docker): cover browser install build arg 2026-02-16 22:35:27 -05:00
entry.ts
extensionAPI.ts
globals.ts
index.ts
logger.test.ts chore: wtf. 2026-02-17 13:36:48 +09:00
logger.ts
logging.ts chore: wtf. 2026-02-17 13:36:48 +09:00
polls.test.ts
polls.ts
runtime.ts chore: chore: Fix types in tests 12/N. 2026-02-17 11:22:49 +09:00
utils.test.ts
utils.ts
version.test.ts
version.ts