Commit d4512484 authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame 🎃
Browse files

fixup! BB 44045: Disable ML features.

BB 45245: Fix a JS console error/crash due to us disabling ML.
parent 9666a499
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -10,7 +10,6 @@
 * - Rendering prompts from files
 */

import { createEngine } from "chrome://global/content/ml/EngineProcess.sys.mjs";
import {
  OAUTH_CLIENT_ID,
  SCOPE_PROFILE_UID,
@@ -42,6 +41,10 @@ const DEFAULT_ENDPOINT =
 */
export const DEFAULT_ENGINE_ID = "smart-openai";

function createEngine() {
  return null;
}

/**
 * Observer for model preference changes.
 * Invalidates the Remote Settings client cache when user changes their model preference.