Do a first clippy pass

This commit is contained in:
Clément Renault
2025-06-03 14:47:39 +02:00
parent 3c218cc3a0
commit 8fdcdee0cc
7 changed files with 22 additions and 27 deletions

View File

@ -69,11 +69,6 @@ impl From<ChatConfig> for ChatSettings {
HybridQuery { semantic_ratio: SemanticRatio(semantic_ratio), embedder }
});
let matching_strategy = matching_strategy.map(MatchingStrategy::from);
let ranking_score_threshold =
ranking_score_threshold.map(RankingScoreThreshold::from);
ChatSearchParams {
hybrid: Setting::some_or_not_set(hybrid),
limit: Setting::some_or_not_set(limit),