Bug 1975262 - remove hugging chat from chatbot a=pascalc

Hide from the list in onboarding and dropdown.

Original Revision: https://phabricator.services.mozilla.com/D255875

Differential Revision: https://phabricator.services.mozilla.com/D255920
This commit is contained in:
Ed Lee
2025-07-03 09:39:28 +00:00
committed by pchevrel@mozilla.com
parent 669cc2a9df
commit 7f8d24c805
2 changed files with 2 additions and 2 deletions

View File

@@ -61,7 +61,7 @@ XPCOMUtils.defineLazyPreferenceGetter(
lazy, lazy,
"chatProviders", "chatProviders",
"browser.ml.chat.providers", "browser.ml.chat.providers",
"claude,chatgpt,gemini,huggingchat,lechat", "claude,chatgpt,gemini,lechat",
reorderChatProviders reorderChatProviders
); );
XPCOMUtils.defineLazyPreferenceGetter( XPCOMUtils.defineLazyPreferenceGetter(

View File

@@ -42,7 +42,7 @@ add_task(async function test_sidebar_providers() {
await SidebarController.show("viewGenaiChatSidebar"); await SidebarController.show("viewGenaiChatSidebar");
const origCount = countVisible(); const origCount = countVisible();
Assert.equal(origCount, 5, "Rendered expected number of provider options"); Assert.equal(origCount, 4, "Rendered expected number of provider options");
SidebarController.hide(); SidebarController.hide();
await SpecialPowers.pushPrefEnv({ await SpecialPowers.pushPrefEnv({