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:
committed by
pchevrel@mozilla.com
parent
669cc2a9df
commit
7f8d24c805
@@ -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(
|
||||||
|
|||||||
@@ -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({
|
||||||
|
|||||||
Reference in New Issue
Block a user