leilei3167
a95ef3e7f3
fix(backend): re-probe MediaMarker after cold vision model load ( #12254 )
...
llama.cpp picks a new random media marker per backend process. LocalAI
cached the first probe on the model config and skipped later probes when
MediaMarker was non-empty, so after SINGLE_ACTIVE eviction/reload the
prompt still used the stale marker and mtmd_tokenize failed (0 markers
vs 1 bitmap).
Re-probe whenever the model was not already resident before Load, while
still skipping the RPC on warm cache hits.
Fixes #12246
Assisted-by: Cursor:composer-2.5
Signed-off-by: leilei3167 <imleilei123@gmail.com >
2026-09-25 09:16:33 +02:00
..
2026-09-22 07:06:32 +00:00
2026-08-18 08:56:59 +02:00
2024-09-13 13:27:36 +02:00
2026-07-19 12:01:36 +02:00
2026-08-22 22:44:03 +02:00
2026-08-18 08:56:59 +02:00
2026-08-18 08:56:59 +02:00
2026-08-18 08:56:59 +02:00
2026-05-05 15:10:13 +02:00
2026-07-20 21:58:19 +02:00
2026-08-18 09:37:43 +02:00
2026-08-18 08:56:59 +02:00
2026-08-18 08:56:59 +02:00
2026-08-18 08:56:59 +02:00
2026-08-18 08:56:59 +02:00
2026-08-18 08:56:59 +02:00
2026-08-18 08:56:59 +02:00
2026-09-25 09:16:33 +02:00
2026-04-04 12:12:08 +02:00
2026-09-25 09:16:33 +02:00
2026-08-18 08:56:59 +02:00
2026-07-15 01:09:33 +02:00
2026-08-22 22:44:03 +02:00
2026-08-18 08:56:59 +02:00
2026-09-11 21:47:55 +00:00
2026-09-22 17:19:58 +02:00
2026-08-18 09:37:43 +02:00
2026-08-18 09:37:43 +02:00
2026-05-30 23:24:22 +02:00
2026-05-30 23:24:22 +02:00
2026-07-29 12:50:22 +02:00
2026-07-29 12:50:22 +02:00
2026-09-22 17:19:58 +02:00
2026-08-18 08:56:59 +02:00
2026-05-25 09:28:27 +02:00
2026-08-18 08:56:59 +02:00
2026-07-20 21:58:19 +02:00
2026-08-18 08:56:59 +02:00
2026-06-12 16:21:15 +02:00
2026-08-18 09:37:43 +02:00
2026-06-18 11:45:22 +01:00
2026-09-23 12:31:28 +02:00
2026-08-18 08:56:59 +02:00
2026-06-12 16:21:15 +02:00
2026-08-18 08:56:59 +02:00
2026-08-18 08:56:59 +02:00
2026-08-18 08:56:59 +02:00
2026-08-18 08:56:59 +02:00
2026-07-20 21:58:19 +02:00
2026-08-18 08:56:59 +02:00
2026-08-18 08:56:59 +02:00
2026-08-18 08:56:59 +02:00
2026-08-18 08:56:59 +02:00
2026-08-18 08:56:59 +02:00
2026-08-18 08:56:59 +02:00
2026-08-18 08:56:59 +02:00