Apply suggestion from @pcuenca

This commit is contained in:
Pedro Cuenca
2026-08-08 21:41:21 +02:00
committed by GitHub
parent 4037e13ea9
commit 9e8f4dabde
-2
View File
@@ -472,8 +472,6 @@ struct mtmd_context {
} break;
case PROJECTOR_TYPE_ONYX:
{
// NOTE: transformers no longer uses delimiters (just <|patch|>*N),
// but we get subpar generations if we don't.
img_beg = "<|image_start|>";
img_end = "<|image_end|>";
image_preproc = std::make_unique<mtmd_image_preprocessor_onyx>(ctx_v);