diff --git a/packages/compass-web/src/entrypoint.tsx b/packages/compass-web/src/entrypoint.tsx index e2103fe782b..9beb7d71343 100644 --- a/packages/compass-web/src/entrypoint.tsx +++ b/packages/compass-web/src/entrypoint.tsx @@ -39,7 +39,7 @@ import { } from '@mongodb-js/compass-databases-collections'; import { PreferencesProvider, - ReadOnlyPreferenceAccess, + CompassWebPreferencesAccess, } from 'compass-preferences-model/provider'; import type { AllPreferences } from 'compass-preferences-model/provider'; import FieldStorePlugin from '@mongodb-js/compass-field-store'; @@ -260,7 +260,7 @@ const CompassWeb = ({ }); const preferencesAccess = useRef( - new ReadOnlyPreferenceAccess({ + new CompassWebPreferencesAccess({ maxTimeMS: 10_000, enableExplainPlan: true, enableAggregationBuilderRunPipeline: true, @@ -277,6 +277,7 @@ const CompassWeb = ({ enableShell: false, enableCreatingNewConnections: false, enableGlobalWrites: false, + optInDataExplorerGenAIFeatures: false, ...initialPreferences, }) );