Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

chore: clippy

Nathan549e8aee03b9
diff --git a/frontend/rust-lib/flowy-ai/src/ai_manager.rs b/frontend/rust-lib/flowy-ai/src/ai_manager.rs
index eceab53ad9..9996947ed8 100644
--- a/frontend/rust-lib/flowy-ai/src/ai_manager.rs
+++ b/frontend/rust-lib/flowy-ai/src/ai_manager.rs
@@ -553,7 +553,7 @@ impl AIManager {
if self.local_ai.is_enabled() {
if setting_only {
let setting = self.local_ai.get_local_ai_setting();
- all_models.push(AIModel::local(setting.chat_model_name, "".to_string()).into());
+ all_models.push(AIModel::local(setting.chat_model_name, "".to_string()));
} else {
all_models.extend(self.local_ai.get_all_chat_local_models().await);
}