multimodal experimental feature

This commit is contained in:
Louis Dureuil 2025-06-30 13:54:04 +02:00
parent e54fc59248
commit c1a132fa06
No known key found for this signature in database
6 changed files with 39 additions and 0 deletions

View file

@ -144,6 +144,19 @@ impl RoFeatures {
.into())
}
}
pub fn check_multimodal(&self, disabled_action: &'static str) -> Result<()> {
if self.runtime.multimodal {
Ok(())
} else {
Err(FeatureNotEnabledError {
disabled_action,
feature: "multimodal",
issue_link: "https://github.com/orgs/meilisearch/discussions/846",
}
.into())
}
}
}
impl FeatureData {