Pier Angelo Vendrame pushed to branch mullvad-browser-152.0a1-16.0-2 at The Tor Project / Applications / Mullvad Browser
Commits:
-
b8c7d20e
by Pier Angelo Vendrame at 2026-06-25T12:07:25+02:00
1 changed file:
Changes:
| ... | ... | @@ -6,10 +6,6 @@ |
| 6 | 6 | import { XPCOMUtils } from "resource://gre/modules/XPCOMUtils.sys.mjs";
|
| 7 | 7 | |
| 8 | 8 | const lazy = {};
|
| 9 | -ChromeUtils.defineESModuleGetters(lazy, {
|
|
| 10 | - resolveChatModelChoice:
|
|
| 11 | - "moz-src:///browser/components/aiwindow/models/Utils.sys.mjs",
|
|
| 12 | -});
|
|
| 13 | 9 | |
| 14 | 10 | XPCOMUtils.defineLazyPreferenceGetter(
|
| 15 | 11 | lazy,
|
| ... | ... | @@ -69,7 +65,8 @@ export async function getModelForChoice(choiceId = lazy.modelChoice) { |
| 69 | 65 | return null;
|
| 70 | 66 | }
|
| 71 | 67 | |
| 72 | - const resolved = await lazy.resolveChatModelChoice(choiceId);
|
|
| 68 | + // tor-browser#45016: EngineProcess.sys.mjs is not available for us.
|
|
| 69 | + const resolved = { model: "unknown", ownerName: "unknown" };
|
|
| 73 | 70 | if (resolved) {
|
| 74 | 71 | return resolved;
|
| 75 | 72 | }
|