[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [Git][tpo/applications/tor-browser][tor-browser-153.1.0esr-16.0-1] fixup! BB 44045: Disable ML features.



Title: GitLab

Pier Angelo Vendrame pushed to branch tor-browser-153.1.0esr-16.0-1 at The Tor Project / Applications / Tor Browser

Commits:

  • 17053ff9
    by Pier Angelo Vendrame at 2026-08-26T11:15:20+02:00
    fixup! BB 44045: Disable ML features.
    
    BB 45245: Fix a JS console error/crash due to us disabling ML.
    

1 changed file:

Changes:

  • browser/components/aiwindow/models/Utils.sys.mjs
    ... ... @@ -10,7 +10,6 @@
    10 10
      * - Rendering prompts from files
    
    11 11
      */
    
    12 12
     
    
    13
    -import { createEngine } from "chrome://global/content/ml/EngineProcess.sys.mjs";
    
    14 13
     import {
    
    15 14
       OAUTH_CLIENT_ID,
    
    16 15
       SCOPE_PROFILE_UID,
    
    ... ... @@ -42,6 +41,10 @@ const DEFAULT_ENDPOINT =
    42 41
      */
    
    43 42
     export const DEFAULT_ENGINE_ID = "smart-openai";
    
    44 43
     
    
    44
    +function createEngine() {
    
    45
    +  return null;
    
    46
    +}
    
    47
    +
    
    45 48
     /**
    
    46 49
      * Observer for model preference changes.
    
    47 50
      * Invalidates the Remote Settings client cache when user changes their model preference.
    

  • _______________________________________________
    tor-commits mailing list -- tor-commits@xxxxxxxxxxxxxxxxxxxx
    To unsubscribe send an email to tor-commits-leave@xxxxxxxxxxxxxxxxxxxx