Skip to main content

mtmd_default_marker

Function mtmd_default_marker 

Source
pub fn mtmd_default_marker() -> Result<&'static str, MtmdDefaultMarkerError>
Expand description

§Errors

Returns MtmdDefaultMarkerError::NotUtf8 if llama.cpp’s mtmd_default_marker returns bytes that are not valid UTF-8. The marker is a fixed ASCII constant in the vendored library; surfacing the error keeps the failure explicit rather than papering over it with a substituted literal.