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.
Dart blogconfluence-alternativecontent-managementcontent-servicesdocumentationflutternote-takingnotion-alternativeproject-managementtask-managementteam-collaborationwiki
chore: send local ai state
Nathan22b9acf386af
diff --git a/frontend/rust-lib/flowy-ai/src/local_ai/controller.rs b/frontend/rust-lib/flowy-ai/src/local_ai/controller.rsindex b4191d15b5..c0475aa88f 100644--- a/frontend/rust-lib/flowy-ai/src/local_ai/controller.rs+++ b/frontend/rust-lib/flowy-ai/src/local_ai/controller.rs@@ -310,10 +310,7 @@ impl LocalAIController {let key = local_ai_enabled_key(&workspace_id);let enabled = !self.store_preferences.get_bool(&key).unwrap_or(true);self.store_preferences.set_bool(&key, enabled)?;-- if self.resource.is_resource_ready().await {- self.toggle_plugin(enabled).await?;- }+ self.toggle_plugin(enabled).await?;Ok(enabled)}