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: set local ai default value

Nathan0657aeb07d91
diff --git a/frontend/rust-lib/flowy-ai/src/local_ai/controller.rs b/frontend/rust-lib/flowy-ai/src/local_ai/controller.rs
index 842db994b8..eafaa86b85 100644
--- a/frontend/rust-lib/flowy-ai/src/local_ai/controller.rs
+++ b/frontend/rust-lib/flowy-ai/src/local_ai/controller.rs
@@ -198,7 +198,7 @@ impl LocalAIController {
.workspace_id()
.map(|workspace_id| local_ai_enabled_key(&workspace_id))
{
- self.store_preferences.get_bool(&key).unwrap_or(true)
+ self.store_preferences.get_bool(&key).unwrap_or(false)
} else {
false
}