diff --git a/frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/setting_ai_view/settings_ai_view.dart b/frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/setting_ai_view/settings_ai_view.dart index 21792d28a04cf..2b8023f35c1ba 100644 --- a/frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/setting_ai_view/settings_ai_view.dart +++ b/frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/setting_ai_view/settings_ai_view.dart @@ -44,10 +44,11 @@ class SettingsAIView extends StatelessWidget { title: LocaleKeys.settings_aiPage_title.tr(), description: LocaleKeys.settings_aiPage_keys_aiSettingsDescription.tr(), - children: const [ - AIModelSelection(), - LocalModelConfig(), - _AISearchToggle(value: false), + children: [ + const AIModelSelection(), + if (state.aiSettings!.aiModel == AIModelPB.LocalAIModel) + const LocalModelConfig(), + const _AISearchToggle(value: false), ], ); },