@@ -4,8 +4,8 @@ use crate::local_ai::resource::{LLMResourceService, LocalAIResourceController};
44use crate :: notification:: {
55 chat_notification_builder, ChatNotification , APPFLOWY_AI_NOTIFICATION_KEY ,
66} ;
7+ use af_plugin:: manager:: PluginManager ;
78use anyhow:: Error ;
8- use appflowy_plugin:: manager:: PluginManager ;
99use flowy_ai_pub:: cloud:: { ChatCloudService , ChatMessageMetadata , ContextLoader , LocalAIConfig } ;
1010use flowy_error:: { FlowyError , FlowyResult } ;
1111use flowy_sqlite:: kv:: KVStorePreferences ;
@@ -15,8 +15,8 @@ use std::collections::HashMap;
1515
1616use crate :: local_ai:: watch:: is_plugin_ready;
1717use crate :: stream_message:: StreamMessage ;
18- use appflowy_local_ai :: ollama_plugin:: OllamaAIPlugin ;
19- use appflowy_plugin :: core:: plugin:: RunningState ;
18+ use af_local_ai :: ollama_plugin:: OllamaAIPlugin ;
19+ use af_plugin :: core:: plugin:: RunningState ;
2020use arc_swap:: ArcSwapOption ;
2121use futures_util:: SinkExt ;
2222use lib_infra:: util:: get_operating_system;
@@ -46,7 +46,7 @@ impl Default for LocalAISetting {
4646 }
4747}
4848
49- const LOCAL_AI_SETTING_KEY : & str = "appflowy_local_ai_setting :v1" ;
49+ const LOCAL_AI_SETTING_KEY : & str = "af_local_ai_setting :v1" ;
5050
5151pub struct LocalAIController {
5252 ai_plugin : Arc < OllamaAIPlugin > ,
0 commit comments