soloclz
9a22cd212b
fix(ollama): register media-understanding provider so image tool can route ollama/* models
...
Ollama chat models already support image inputs (extensions/ollama/src/stream.ts
extracts image parts and forwards them via the Ollama API), but the ollama
plugin did not register a MediaUnderstandingProvider. The image tool's provider
registry therefore had no 'ollama' entry, so requests like
`imageModel: 'ollama/qwen2.5vl:7b'` failed to resolve and fell back to
unrelated providers.
Register ollamaMediaUnderstandingProvider with:
- capabilities: ['image']
- describeImage/describeImages wired to the shared core helpers (reuses the
same pi-ai complete path Ollama chat already goes through)
- no defaultModels or autoPriority: Ollama vision support depends on which
model the user has pulled, so we don't pick a canonical default and don't
auto-steal image duty from configured providers.
Fixes #69071 (and supersedes #60280 ).
2026-04-21 22:25:45 +01:00
..
2026-04-21 08:47:24 +01:00
2026-04-21 07:02:43 +01:00
2026-04-20 13:16:40 +01:00
2026-04-21 09:13:35 +01:00
2026-04-20 13:16:40 +01:00
2026-04-21 09:13:35 +01:00
2026-04-20 22:05:39 +01:00
2026-04-21 00:32:42 +01:00
2026-04-21 01:43:17 -07:00
2026-04-20 16:07:14 +01:00
2026-04-21 08:11:41 +01:00
2026-04-20 13:16:40 +01:00
2026-04-20 13:16:40 +01:00
2026-04-20 20:55:39 +01:00
2026-04-21 21:38:26 +10:00
2026-04-21 00:54:08 +01:00
2026-04-20 13:16:40 +01:00
2026-04-20 13:16:40 +01:00
2026-04-21 00:32:42 +01:00
2026-04-20 23:20:31 +01:00
2026-04-20 13:18:32 +01:00
2026-04-20 23:34:19 +01:00
2026-04-21 21:29:44 +01:00
2026-04-20 22:05:39 +01:00
2026-04-21 00:32:42 +01:00
2026-04-21 02:34:24 +01:00
2026-04-21 00:54:08 +01:00
2026-04-21 21:29:44 +01:00
2026-04-21 02:34:24 +01:00
2026-04-21 20:31:33 +01:00
2026-04-21 20:00:06 +01:00
2026-04-21 09:13:35 +01:00
2026-04-21 00:40:07 +01:00
2026-04-20 13:16:40 +01:00
2026-04-20 13:16:40 +01:00
2026-04-20 13:16:40 +01:00
2026-04-21 00:40:07 +01:00
2026-04-20 21:54:49 +01:00
2026-04-20 13:16:40 +01:00
2026-04-21 09:13:35 +01:00
2026-04-21 00:40:07 +01:00
2026-04-20 13:16:40 +01:00
2026-04-21 09:13:35 +01:00
2026-04-20 23:15:58 +01:00
2026-04-21 05:32:13 +01:00
2026-04-21 12:50:53 -04:00
2026-04-21 21:29:44 +01:00
2026-04-20 13:16:40 +01:00
2026-04-21 03:12:42 +01:00
2026-04-20 21:56:17 +01:00
2026-04-20 23:34:19 +01:00
2026-04-21 00:24:18 +01:00
2026-04-20 13:16:40 +01:00
2026-04-21 13:53:08 -04:00
2026-04-21 09:13:35 +01:00
2026-04-21 09:13:35 +01:00
2026-04-21 21:29:44 +01:00
2026-04-21 00:40:07 +01:00
2026-04-21 00:40:07 +01:00
2026-04-20 13:16:40 +01:00
2026-04-21 22:25:45 +01:00
2026-04-20 13:16:40 +01:00
2026-04-21 21:49:16 +01:00
2026-04-20 13:16:40 +01:00
2026-04-20 13:16:40 +01:00
2026-04-20 20:55:39 +01:00
2026-04-21 15:18:28 -06:00
2026-04-21 02:34:24 +01:00
2026-04-17 10:14:00 +05:30
2026-04-21 00:40:07 +01:00
2026-04-21 18:53:49 +01:00
2026-04-20 21:03:13 +01:00
2026-04-21 02:41:26 +01:00
2026-04-22 01:05:12 +08:00
2026-04-20 20:55:39 +01:00
2026-04-20 13:16:40 +01:00
2026-04-20 13:16:40 +01:00
2026-04-20 20:55:39 +01:00
2026-04-20 22:34:11 +01:00
2026-04-21 21:29:44 +01:00
2026-04-21 21:29:44 +01:00
2026-04-20 17:11:33 +01:00
2026-04-20 13:16:40 +01:00
2026-04-21 12:00:28 -06:00
2026-04-20 13:16:40 +01:00
2026-04-17 10:14:00 +05:30
2026-04-21 02:34:24 +01:00
2026-04-21 21:29:44 +01:00
2026-04-21 00:32:42 +01:00
2026-04-17 10:14:00 +05:30
2026-04-21 00:40:07 +01:00
2026-04-20 23:04:10 +01:00
2026-04-21 00:40:07 +01:00
2026-04-20 20:55:39 +01:00
2026-04-20 13:16:40 +01:00
2026-04-20 13:16:40 +01:00
2026-04-20 20:55:39 +01:00
2026-04-20 17:05:16 +01:00
2026-04-20 13:16:40 +01:00
2026-04-20 13:16:40 +01:00
2026-04-20 16:34:48 +01:00
2026-04-20 13:16:40 +01:00
2026-04-20 22:44:38 +01:00
2026-04-21 09:13:35 +01:00
2026-04-20 13:16:40 +01:00
2026-04-21 09:13:35 +01:00
2026-04-21 07:28:52 -07:00
2026-04-20 19:37:20 +01:00
2026-04-17 02:23:49 -04:00
2026-04-20 22:09:16 +01:00
2026-04-06 15:38:04 +01:00
2026-04-09 23:59:00 +01:00
2026-04-20 22:09:16 +01:00