Remove useless double check

This commit is contained in:
Kerollmops 2025-06-10 16:31:58 +02:00
parent 5ceb3c6a10
commit ab0eba2f72
No known key found for this signature in database
GPG Key ID: F250A4C4E3AE5F5F

View File

@ -569,10 +569,6 @@ pub async fn update_all(
debug!(parameters = ?new_settings, "Update all settings");
let new_settings = validate_settings(new_settings, &index_scheduler)?;
if !new_settings.chat.is_not_set() {
index_scheduler.features().check_chat_completions("setting `chat` in the index route")?;
}
analytics.publish(
SettingsAnalytics {
ranking_rules: RankingRulesAnalytics::new(new_settings.ranking_rules.as_ref().set()),