Skip to content

Commit 735a09b

Browse files
authored
chore: remove local ai (#5837)
* chore: remove local ai * chore: flutter analyze
1 parent d52a04a commit 735a09b

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/setting_ai_view/settings_ai_view.dart

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,12 @@ class SettingsAIView extends StatelessWidget {
5252
];
5353

5454
children.add(const _AISearchToggle(value: false));
55-
children.add(
56-
_LocalAIOnBoarding(
57-
workspaceId: userProfile.workspaceId,
58-
),
59-
);
55+
// TODO(nathan): enable local ai
56+
// children.add(
57+
// _LocalAIOnBoarding(
58+
// workspaceId: userProfile.workspaceId,
59+
// ),
60+
// );
6061

6162
return SettingsBody(
6263
title: LocaleKeys.settings_aiPage_title.tr(),
@@ -113,6 +114,7 @@ class _AISearchToggle extends StatelessWidget {
113114
}
114115
}
115116

117+
// ignore: unused_element
116118
class _LocalAIOnBoarding extends StatelessWidget {
117119
const _LocalAIOnBoarding({required this.workspaceId});
118120
final String workspaceId;

frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/settings_billing_view.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@ class _SettingsBillingViewState extends State<SettingsBillingView> {
212212

213213
// Currently, the AI Local tile is only available on macOS
214214
// TODO(nathan): enable windows and linux
215+
// TODO(nathan): enable local ai
215216
// if (Platform.isMacOS)
216217
// _AITile(
217218
// plan: SubscriptionPlanPB.AiLocal,

frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/settings_plan_view.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ class _SettingsPlanViewState extends State<SettingsPlanView> {
139139

140140
// Currently, the AI Local tile is only available on macOS
141141
// TODO(nathan): enable windows and linux
142+
// TODO(nathan): enable local ai
142143
// if (Platform.isMacOS)
143144
// Flexible(
144145
// child: _AddOnBox(

0 commit comments

Comments
 (0)