Files
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 <[email protected]>
(cherry picked from commit b381029ede72a57ef6d12d9413c98fa29501b797)
2026-02-18 00:08:27 +01:00
..
2026-02-17 15:50:07 +09:00
2026-02-17 13:36:48 +09:00
2026-02-17 15:50:07 +09:00
2026-02-17 13:36:48 +09:00
2026-02-17 15:50:07 +09:00
2026-02-17 13:36:48 +09:00
2026-02-17 13:36:48 +09:00
2026-02-17 13:36:48 +09:00
2026-02-17 15:50:07 +09:00
2026-02-17 15:50:07 +09:00
2026-02-17 13:36:48 +09:00
2026-02-17 15:50:07 +09:00
2026-02-17 15:50:07 +09:00
2026-02-17 13:36:48 +09:00
2026-02-17 15:50:07 +09:00
2026-02-17 13:36:48 +09:00
2026-02-17 13:36:48 +09:00
2026-02-17 15:50:07 +09:00
2026-02-17 15:50:07 +09:00
2026-02-17 08:44:42 -05:00
2026-02-17 13:36:48 +09:00
2026-02-17 13:36:48 +09:00