diff --git a/components/ai_chat/core/browser/constants.cc b/components/ai_chat/core/browser/constants.cc index 7870033ac543..2c4e6d756e4e 100644 --- a/components/ai_chat/core/browser/constants.cc +++ b/components/ai_chat/core/browser/constants.cc @@ -45,6 +45,7 @@ base::span GetLocalizedStrings() { {"closeLabel", IDS_CHAT_UI_LABEL_CLOSE}, {"menuGoPremium", IDS_CHAT_UI_MENU_GO_PREMIUM}, {"menuManageSubscription", IDS_CHAT_UI_MENU_MANAGE_SUBSCRIPTION}, + {"menuConversationHistory", IDS_CHAT_UI_MENU_CONVERSATION_HISTORY}, {"menuSettings", IDS_CHAT_UI_MENU_SETTINGS}, {"menuTitleModels", IDS_CHAT_UI_MENU_TITLE_MODELS}, {"suggestQuestionsLabel", IDS_CHAT_UI_SUGGEST_QUESTIONS_LABEL}, diff --git a/components/ai_chat/resources/page/components/feature_button_menu/index.tsx b/components/ai_chat/resources/page/components/feature_button_menu/index.tsx index b92f84e3cc47..78c9bffa2cb8 100644 --- a/components/ai_chat/resources/page/components/feature_button_menu/index.tsx +++ b/components/ai_chat/resources/page/components/feature_button_menu/index.tsx @@ -179,7 +179,7 @@ export default function FeatureMenu(props: Props) { )} - {!aiChatContext.isStandalone && ( + {!aiChatContext.isStandalone && aiChatContext.isHistoryEnabled && ( <> props.setIsConversationListOpen?.(true)} @@ -191,7 +191,7 @@ export default function FeatureMenu(props: Props) { )} > - Search and history + {getLocale('menuConversationHistory')} diff --git a/components/resources/ai_chat_ui_strings.grdp b/components/resources/ai_chat_ui_strings.grdp index de819a1066b9..9eaa80927f11 100644 --- a/components/resources/ai_chat_ui_strings.grdp +++ b/components/resources/ai_chat_ui_strings.grdp @@ -87,6 +87,9 @@ Manage subscription + + Conversation history + Advanced Settings