Always display embedders setting

This commit is contained in:
Louis Dureuil 2025-01-13 13:31:38 +01:00
parent c32bec338f
commit 03097e65e8
No known key found for this signature in database

View File

@ -866,7 +866,7 @@ pub fn settings(
(name, SettingEmbeddingSettings { inner: Setting::Set(config.into()) }) (name, SettingEmbeddingSettings { inner: Setting::Set(config.into()) })
}) })
.collect(); .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)?; let search_cutoff_ms = index.search_cutoff(rtxn)?;