From 03097e65e8854b55309165d0dc7e80608d251f40 Mon Sep 17 00:00:00 2001 From: Louis Dureuil Date: Mon, 13 Jan 2025 13:31:38 +0100 Subject: [PATCH] Always display embedders setting --- crates/meilisearch-types/src/settings.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/meilisearch-types/src/settings.rs b/crates/meilisearch-types/src/settings.rs index 658d7eec4..e501d7359 100644 --- a/crates/meilisearch-types/src/settings.rs +++ b/crates/meilisearch-types/src/settings.rs @@ -866,7 +866,7 @@ pub fn settings( (name, SettingEmbeddingSettings { inner: Setting::Set(config.into()) }) }) .collect(); - let embedders = if embedders.is_empty() { Setting::NotSet } else { Setting::Set(embedders) }; + let embedders = Setting::Set(embedders); let search_cutoff_ms = index.search_cutoff(rtxn)?;