From 51e11634653ec56005b458d2c8bcba18ddbe1050 Mon Sep 17 00:00:00 2001 From: Steeeephen <18271292+Steeeephen@users.noreply.github.com> Date: Mon, 16 Feb 2026 17:07:53 +0000 Subject: [PATCH 1/7] [Leo] update models --- ...ave_settings_localized_strings_provider.cc | 12 ++--- .../ai_chat/core/browser/model_service.cc | 46 +++++++++---------- .../ai_chat/resources/common/constants.ts | 6 +-- components/resources/ai_chat_ui_strings.grdp | 21 ++++++--- ui/webui/resources/BUILD.gn | 2 + 5 files changed, 49 insertions(+), 38 deletions(-) diff --git a/browser/ui/webui/settings/brave_settings_localized_strings_provider.cc b/browser/ui/webui/settings/brave_settings_localized_strings_provider.cc index dc006f427db3..c5818af7a195 100644 --- a/browser/ui/webui/settings/brave_settings_localized_strings_provider.cc +++ b/browser/ui/webui/settings/brave_settings_localized_strings_provider.cc @@ -595,8 +595,8 @@ void BraveAddCommonStrings(content::WebUIDataSource* html_source, {"braveLeoModelSubtitle-chat-qwen", IDS_CHAT_UI_CHAT_QWEN_SUBTITLE}, {"braveLeoModelSubtitle-chat-near-deepseek-v3-1", IDS_CHAT_UI_CHAT_NEAR_DEEPSEEK_V3_1_SUBTITLE}, - {"braveLeoModelSubtitle-chat-llama-4-scout", - IDS_CHAT_UI_CHAT_LLAMA_4_SCOUT_SUBTITLE}, + {"braveLeoModelSubtitle-chat-glm-4-7-flash", + IDS_CHAT_UI_CHAT_GLM_4_7_FLASH_SUBTITLE}, {"braveLeoModelSubtitle-chat-llama-4-maverick", IDS_CHAT_UI_CHAT_LLAMA_4_MAVERICK_SUBTITLE}, {"braveLeoModelSubtitle-chat-gpt-oss-20b", @@ -605,12 +605,12 @@ void BraveAddCommonStrings(content::WebUIDataSource* html_source, IDS_CHAT_UI_CHAT_GPT_OSS_120B_SUBTITLE}, {"braveLeoModelSubtitle-chat-mistral-large", IDS_CHAT_UI_CHAT_MISTRAL_LARGE_SUBTITLE}, - {"braveLeoModelSubtitle-chat-pixtral-large", - IDS_CHAT_UI_CHAT_PIXTRAL_LARGE_SUBTITLE}, + {"braveLeoModelSubtitle-chat-kimi-k2-5", + IDS_CHAT_UI_CHAT_KIMI_K2_5_SUBTITLE}, {"braveLeoModelSubtitle-chat-qwen-3-235b", IDS_CHAT_UI_CHAT_QWEN_3_235B_SUBTITLE}, - {"braveLeoModelSubtitle-chat-deepseek-v3-1", - IDS_CHAT_UI_CHAT_DEEPSEEK_V3_1_SUBTITLE}, + {"braveLeoModelSubtitle-chat-deepseek-v3-2", + IDS_CHAT_UI_CHAT_DEEPSEEK_V3_2_SUBTITLE}, {"braveLeoModelSubtitle-chat-qwen-3-coder-480b", IDS_CHAT_UI_CHAT_QWEN_3_CODER_480B_SUBTITLE}, {"braveLeoModelSubtitle-chat-claude-opus", diff --git a/components/ai_chat/core/browser/model_service.cc b/components/ai_chat/core/browser/model_service.cc index b031d1ef71b4..9ec234f1fc4d 100644 --- a/components/ai_chat/core/browser/model_service.cc +++ b/components/ai_chat/core/browser/model_service.cc @@ -210,11 +210,11 @@ const std::vector& GetLeoModels() { models.push_back(std::move(model)); } - // Llama 4 Scout + // GLM 4.7 Flash { auto options = mojom::LeoModelOptions::New(); - options->display_maker = "Meta"; - options->name = "llama-4-scout"; + options->display_maker = "Z.ai"; + options->name = "glm-4-7-flash"; options->category = mojom::ModelCategory::CHAT; options->access = features::kFreemiumAvailable.Get() ? mojom::ModelAccess::BASIC_AND_PREMIUM @@ -223,10 +223,10 @@ const std::vector& GetLeoModels() { options->long_conversation_warning_character_limit = 9700; auto model = mojom::Model::New(); - model->key = "chat-llama-4-scout"; - model->display_name = "Llama 4 Scout"; + model->key = "chat-glm-4-7-flash"; + model->display_name = "GLM 4.7 Flash"; model->vision_support = true; - model->supports_tools = false; + model->supports_tools = true; model->is_suggested_model = false; model->is_near_model = false; model->options = @@ -331,21 +331,21 @@ const std::vector& GetLeoModels() { models.push_back(std::move(model)); } - // Pixtral Large + // Kimi K2.5 { auto options = mojom::LeoModelOptions::New(); - options->display_maker = "Mistral"; - options->name = "pixtral-large"; + options->display_maker = "Moonshot AI"; + options->name = "kimi-k2-5"; options->category = mojom::ModelCategory::CHAT; options->access = mojom::ModelAccess::PREMIUM; options->max_associated_content_length = 64000; options->long_conversation_warning_character_limit = 9700; auto model = mojom::Model::New(); - model->key = "chat-pixtral-large"; - model->display_name = "Pixtral Large"; - model->vision_support = true; - model->supports_tools = false; + model->key = "chat-kimi-k2-5"; + model->display_name = "Kimi K2.5"; + model->vision_support = false; + model->supports_tools = true; model->is_suggested_model = false; model->is_near_model = false; model->options = @@ -377,19 +377,19 @@ const std::vector& GetLeoModels() { models.push_back(std::move(model)); } - // Deepseek V3.1 + // Deepseek V3.2 { auto options = mojom::LeoModelOptions::New(); options->display_maker = "Deepseek"; - options->name = "deepseek-v3-1"; + options->name = "deepseek-v3-2"; options->category = mojom::ModelCategory::CHAT; options->access = mojom::ModelAccess::PREMIUM; options->max_associated_content_length = 64000; options->long_conversation_warning_character_limit = 9700; auto model = mojom::Model::New(); - model->key = "chat-deepseek-v3-1"; - model->display_name = "Deepseek V3.1"; + model->key = "chat-deepseek-v3-2"; + model->display_name = "Deepseek V3.2"; model->vision_support = false; model->supports_tools = false; model->is_suggested_model = false; @@ -751,9 +751,9 @@ ModelService::GetModelsWithSubtitles() { } else if (model->key == "chat-automatic") { model_with_subtitle->subtitle = l10n_util::GetStringUTF8(IDS_CHAT_UI_CHAT_AUTOMATIC_SUBTITLE); - } else if (model->key == "chat-llama-4-scout") { + } else if (model->key == "chat-glm-4-7-flash") { model_with_subtitle->subtitle = - l10n_util::GetStringUTF8(IDS_CHAT_UI_CHAT_LLAMA_4_SCOUT_SUBTITLE); + l10n_util::GetStringUTF8(IDS_CHAT_UI_CHAT_GLM_4_7_FLASH_SUBTITLE); } else if (model->key == "chat-llama-4-maverick") { model_with_subtitle->subtitle = l10n_util::GetStringUTF8( IDS_CHAT_UI_CHAT_LLAMA_4_MAVERICK_SUBTITLE); @@ -766,15 +766,15 @@ ModelService::GetModelsWithSubtitles() { } else if (model->key == "chat-mistral-large") { model_with_subtitle->subtitle = l10n_util::GetStringUTF8(IDS_CHAT_UI_CHAT_MISTRAL_LARGE_SUBTITLE); - } else if (model->key == "chat-pixtral-large") { + } else if (model->key == "chat-kimi-k2-5") { model_with_subtitle->subtitle = - l10n_util::GetStringUTF8(IDS_CHAT_UI_CHAT_PIXTRAL_LARGE_SUBTITLE); + l10n_util::GetStringUTF8(IDS_CHAT_UI_CHAT_KIMI_K2_5_SUBTITLE); } else if (model->key == "chat-qwen-3-235b") { model_with_subtitle->subtitle = l10n_util::GetStringUTF8(IDS_CHAT_UI_CHAT_QWEN_3_235B_SUBTITLE); - } else if (model->key == "chat-deepseek-v3-1") { + } else if (model->key == "chat-deepseek-v3-2") { model_with_subtitle->subtitle = - l10n_util::GetStringUTF8(IDS_CHAT_UI_CHAT_DEEPSEEK_V3_1_SUBTITLE); + l10n_util::GetStringUTF8(IDS_CHAT_UI_CHAT_DEEPSEEK_V3_2_SUBTITLE); } else if (model->key == "chat-qwen-3-coder-480b") { model_with_subtitle->subtitle = l10n_util::GetStringUTF8( IDS_CHAT_UI_CHAT_QWEN_3_CODER_480B_SUBTITLE); diff --git a/components/ai_chat/resources/common/constants.ts b/components/ai_chat/resources/common/constants.ts index f90c1972cf66..45755fd8e239 100644 --- a/components/ai_chat/resources/common/constants.ts +++ b/components/ai_chat/resources/common/constants.ts @@ -15,14 +15,14 @@ const modelIcons = { 'chat-claude-sonnet': 'anthropic-color', 'chat-qwen': 'qwen-color', 'chat-basic': 'meta-color', - 'chat-llama-4-scout': 'meta-color', + 'chat-glm-4-7-flash': 'zai-color', 'chat-llama-4-maverick': 'meta-color', 'chat-gpt-oss-20b': 'openai-color', 'chat-gpt-oss-120b': 'openai-color', 'chat-mistral-large': 'mistral-color', - 'chat-pixtral-large': 'mistral-color', + 'chat-kimi-k2-5': 'kimi-color', 'chat-qwen-3-235b': 'qwen-color', - 'chat-deepseek-v3-1': 'deepseek-color', + 'chat-deepseek-v3-2': 'deepseek-color', 'chat-qwen-3-coder-480b': 'qwen-color', 'chat-claude-opus': 'anthropic-color', } diff --git a/components/resources/ai_chat_ui_strings.grdp b/components/resources/ai_chat_ui_strings.grdp index 9245243a850c..15f5910e0e3f 100644 --- a/components/resources/ai_chat_ui_strings.grdp +++ b/components/resources/ai_chat_ui_strings.grdp @@ -132,12 +132,21 @@ Hi, I'm Leo. I'm an AI assistant by Brave. I'm powered by Deepseek V3.1, a model created by Deepseek to be performant and applicable to many use cases. Deepseek V3.1 is Brave-hosted through our own secure infrastructure.$1Learn more/$1 + + Hi, I'm Leo. I'm an AI assistant by Brave. I'm powered by Deepseek V3.2, a model created by Deepseek to be performant and applicable to many use cases. Deepseek V3.2 is Brave-hosted through our own secure infrastructure.$1Learn more/$1 + Hi, I'm Leo. I'm an AI assistant by Brave. I'm powered by Qwen 3 Coder 480B, a model created by Alibaba Cloud to be performant and applicable to many use cases. Qwen 3 Coder 480B is Brave-hosted through our own secure infrastructure.$1Learn more/$1 Hi, I'm Leo. I'm an AI assistant by Brave. I'm powered by Claude Opus, a model created by Anthropic to power conversational and text processing tasks. Claude Opus is Brave-hosted through our own secure infrastructure.$1Learn more/$1 + + Hi, I'm Leo. I'm an AI assistant by Brave. I'm powered by GLM-4-7-Flash, a model created by Zhipu AI to be performant and applicable to many use cases. GLM-4-7-Flash is Brave-hosted through our own secure infrastructure.$1Learn more/$1 + + + Hi, I'm Leo. I'm an AI assistant by Brave. I'm powered by Kimi K2.5, a model created by Moonshot AI to be performant and applicable to many use cases. Kimi K2.5 is Brave-hosted through our own secure infrastructure.$1Learn more/$1 + Premium @@ -579,8 +588,8 @@ Model changes dynamically to use the best one for the task - - Search • Vision + + Fast • Search • Tools Search • Vision @@ -594,14 +603,14 @@ Search - - Search • Vision + + Search • Tools Search • Vision - - Search + + Search • Tools Search diff --git a/ui/webui/resources/BUILD.gn b/ui/webui/resources/BUILD.gn index 0b3d5c181d78..d6456ad01be0 100644 --- a/ui/webui/resources/BUILD.gn +++ b/ui/webui/resources/BUILD.gn @@ -296,6 +296,7 @@ leo_icons = [ "key-lock-off.svg", "key-lock.svg", "key.svg", + "kimi-color.svg", "launch-off.svg", "launch.svg", "leo-cursor.svg", @@ -481,6 +482,7 @@ leo_icons = [ "window-tab-new.svg", "window.svg", "windows-open.svg", + "zai-color.svg", "import-arrow.svg", "metamask-color.svg", "phantom-color.svg", From 14d1e38ad7d26ab60bebd3008c91f27b40f7d80f Mon Sep 17 00:00:00 2001 From: Steeeephen <18271292+Steeeephen@users.noreply.github.com> Date: Wed, 25 Feb 2026 12:41:20 +0000 Subject: [PATCH 2/7] add near GLM 5 --- .../brave_settings_localized_strings_provider.cc | 2 -- components/ai_chat/core/browser/model_service.cc | 14 +++++++------- components/ai_chat/resources/common/constants.ts | 2 +- components/resources/ai_chat_ui_strings.grdp | 6 +++--- 4 files changed, 11 insertions(+), 13 deletions(-) diff --git a/browser/ui/webui/settings/brave_settings_localized_strings_provider.cc b/browser/ui/webui/settings/brave_settings_localized_strings_provider.cc index c5818af7a195..22018ebeee52 100644 --- a/browser/ui/webui/settings/brave_settings_localized_strings_provider.cc +++ b/browser/ui/webui/settings/brave_settings_localized_strings_provider.cc @@ -593,8 +593,6 @@ void BraveAddCommonStrings(content::WebUIDataSource* html_source, {"braveLeoModelSubtitle-chat-claude-sonnet", IDS_CHAT_UI_CHAT_CLAUDE_SONNET_SUBTITLE}, {"braveLeoModelSubtitle-chat-qwen", IDS_CHAT_UI_CHAT_QWEN_SUBTITLE}, - {"braveLeoModelSubtitle-chat-near-deepseek-v3-1", - IDS_CHAT_UI_CHAT_NEAR_DEEPSEEK_V3_1_SUBTITLE}, {"braveLeoModelSubtitle-chat-glm-4-7-flash", IDS_CHAT_UI_CHAT_GLM_4_7_FLASH_SUBTITLE}, {"braveLeoModelSubtitle-chat-llama-4-maverick", diff --git a/components/ai_chat/core/browser/model_service.cc b/components/ai_chat/core/browser/model_service.cc index 9ec234f1fc4d..fd14733f57d0 100644 --- a/components/ai_chat/core/browser/model_service.cc +++ b/components/ai_chat/core/browser/model_service.cc @@ -446,19 +446,19 @@ const std::vector& GetLeoModels() { models.push_back(std::move(model)); } - // DeepSeek V3.1 (NEAR) + // GLM-5 (NEAR) if (features::IsNEARModelsEnabled()) { auto options = mojom::LeoModelOptions::New(); - options->display_maker = "DeepSeek"; - options->name = "near-deepseek-v3-1"; + options->display_maker = "Z.ai"; + options->name = "near-glm-5"; options->category = mojom::ModelCategory::CHAT; options->access = kFreemiumAccess; options->max_associated_content_length = 128000; options->long_conversation_warning_character_limit = 128000; auto model = mojom::Model::New(); - model->key = "chat-near-deepseek-v3-1"; - model->display_name = "DeepSeek V3.1"; + model->key = "chat-near-glm-5"; + model->display_name = "GLM-5"; model->vision_support = false; model->supports_tools = false; model->is_suggested_model = true; @@ -745,9 +745,9 @@ ModelService::GetModelsWithSubtitles() { } else if (model->key == "chat-qwen") { model_with_subtitle->subtitle = l10n_util::GetStringUTF8(IDS_CHAT_UI_CHAT_QWEN_SUBTITLE); - } else if (model->key == "chat-near-deepseek-v3-1") { + } else if (model->key == "chat-near-glm-5") { model_with_subtitle->subtitle = l10n_util::GetStringUTF8( - IDS_CHAT_UI_CHAT_NEAR_DEEPSEEK_V3_1_SUBTITLE); + IDS_CHAT_UI_CHAT_NEAR_GLM_5_SUBTITLE); } else if (model->key == "chat-automatic") { model_with_subtitle->subtitle = l10n_util::GetStringUTF8(IDS_CHAT_UI_CHAT_AUTOMATIC_SUBTITLE); diff --git a/components/ai_chat/resources/common/constants.ts b/components/ai_chat/resources/common/constants.ts index 45755fd8e239..7ece8d18788c 100644 --- a/components/ai_chat/resources/common/constants.ts +++ b/components/ai_chat/resources/common/constants.ts @@ -9,7 +9,7 @@ export const IGNORE_EXTERNAL_LINK_WARNING_KEY = 'IGNORE_EXTERNAL_LINK_WARNING' const modelIcons = { 'chat-automatic': 'product-brave-leo', - 'chat-near-deepseek-v3-1': 'deepseek-color', + 'chat-near-glm-5': 'zai-color', 'chat-claude-instant': 'anthropic-color', 'chat-claude-haiku': 'anthropic-color', 'chat-claude-sonnet': 'anthropic-color', diff --git a/components/resources/ai_chat_ui_strings.grdp b/components/resources/ai_chat_ui_strings.grdp index 15f5910e0e3f..cfa401205554 100644 --- a/components/resources/ai_chat_ui_strings.grdp +++ b/components/resources/ai_chat_ui_strings.grdp @@ -96,8 +96,8 @@ Hi, I'm Leo. I'm an AI assistant by Brave. I'm powered by Qwen VL 30B, a model created by Alibaba Cloud to be performant and applicable to many use cases. Qwen is Brave-hosted through our own secure infrastructure.$1Learn more/$1 - - Hi, I'm Leo. I'm an AI assistant by Brave. I'm powered by DeepSeek V3.1, a model created by DeepSeek to be performant and applicable to many use cases. DeepSeek V3.1 is NEAR-hosted through their own verifiably private secure infrastructure.$1Learn more/$1 + + Hi, I'm Leo. I'm an AI assistant by Brave. I'm powered by GLM-5, a model created by Z.ai to be performant and applicable to many use cases. GLM-5 is NEAR-hosted through their own verifiably private secure infrastructure.$1Learn more/$1 Hi, I'm Leo. I'm an AI assistant by Brave. I'm powered by Claude Instant, a model created by Anthropic to power conversational and text processing tasks. Claude Instant is Brave-hosted through our own secure infrastructure.$1Learn more/$1 @@ -582,7 +582,7 @@ Fast • Search • Vision - + Verifiably Private With NEAR AI TEE From c5b95537b087dffe69cc03ee8b2b6346ecbdc80f Mon Sep 17 00:00:00 2001 From: Steeeephen <18271292+Steeeephen@users.noreply.github.com> Date: Wed, 25 Feb 2026 13:13:36 +0000 Subject: [PATCH 3/7] address netzen comments --- .../webui/settings/brave_settings_localized_strings_provider.cc | 2 ++ components/resources/ai_chat_ui_strings.grdp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/browser/ui/webui/settings/brave_settings_localized_strings_provider.cc b/browser/ui/webui/settings/brave_settings_localized_strings_provider.cc index 22018ebeee52..176a1593a673 100644 --- a/browser/ui/webui/settings/brave_settings_localized_strings_provider.cc +++ b/browser/ui/webui/settings/brave_settings_localized_strings_provider.cc @@ -593,6 +593,8 @@ void BraveAddCommonStrings(content::WebUIDataSource* html_source, {"braveLeoModelSubtitle-chat-claude-sonnet", IDS_CHAT_UI_CHAT_CLAUDE_SONNET_SUBTITLE}, {"braveLeoModelSubtitle-chat-qwen", IDS_CHAT_UI_CHAT_QWEN_SUBTITLE}, + {"braveLeoModelSubtitle-chat-near-glm-5", + IDS_CHAT_UI_CHAT_NEAR_GLM_5_SUBTITLE}, {"braveLeoModelSubtitle-chat-glm-4-7-flash", IDS_CHAT_UI_CHAT_GLM_4_7_FLASH_SUBTITLE}, {"braveLeoModelSubtitle-chat-llama-4-maverick", diff --git a/components/resources/ai_chat_ui_strings.grdp b/components/resources/ai_chat_ui_strings.grdp index cfa401205554..9655f727ec32 100644 --- a/components/resources/ai_chat_ui_strings.grdp +++ b/components/resources/ai_chat_ui_strings.grdp @@ -97,7 +97,7 @@ Hi, I'm Leo. I'm an AI assistant by Brave. I'm powered by Qwen VL 30B, a model created by Alibaba Cloud to be performant and applicable to many use cases. Qwen is Brave-hosted through our own secure infrastructure.$1Learn more/$1 - Hi, I'm Leo. I'm an AI assistant by Brave. I'm powered by GLM-5, a model created by Z.ai to be performant and applicable to many use cases. GLM-5 is NEAR-hosted through their own verifiably private secure infrastructure.$1Learn more/$1 + Hi, I'm Leo. I'm an AI assistant by Brave. I'm powered by GLM-5, a model created by Zhipu AI to be performant and applicable to many use cases. GLM-5 is NEAR-hosted through their own verifiably private secure infrastructure.$1Learn more/$1 Hi, I'm Leo. I'm an AI assistant by Brave. I'm powered by Claude Instant, a model created by Anthropic to power conversational and text processing tasks. Claude Instant is Brave-hosted through our own secure infrastructure.$1Learn more/$1 From ef48b10cb489436c7114af9ad1addf7873e1ed0a Mon Sep 17 00:00:00 2001 From: Steeeephen <18271292+Steeeephen@users.noreply.github.com> Date: Wed, 25 Feb 2026 17:12:27 +0000 Subject: [PATCH 4/7] formatting --- components/ai_chat/core/browser/model_service.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/ai_chat/core/browser/model_service.cc b/components/ai_chat/core/browser/model_service.cc index fd14733f57d0..6e4aa4948a4a 100644 --- a/components/ai_chat/core/browser/model_service.cc +++ b/components/ai_chat/core/browser/model_service.cc @@ -746,8 +746,8 @@ ModelService::GetModelsWithSubtitles() { model_with_subtitle->subtitle = l10n_util::GetStringUTF8(IDS_CHAT_UI_CHAT_QWEN_SUBTITLE); } else if (model->key == "chat-near-glm-5") { - model_with_subtitle->subtitle = l10n_util::GetStringUTF8( - IDS_CHAT_UI_CHAT_NEAR_GLM_5_SUBTITLE); + model_with_subtitle->subtitle = + l10n_util::GetStringUTF8(IDS_CHAT_UI_CHAT_NEAR_GLM_5_SUBTITLE); } else if (model->key == "chat-automatic") { model_with_subtitle->subtitle = l10n_util::GetStringUTF8(IDS_CHAT_UI_CHAT_AUTOMATIC_SUBTITLE); From d84bab67e222d3f4d79629bdd8342ff8e20734fd Mon Sep 17 00:00:00 2001 From: Steeeephen <18271292+Steeeephen@users.noreply.github.com> Date: Thu, 26 Feb 2026 18:12:43 +0000 Subject: [PATCH 5/7] add removed models to clearprefs migration --- components/ai_chat/core/browser/model_service.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/components/ai_chat/core/browser/model_service.cc b/components/ai_chat/core/browser/model_service.cc index 7ca60bde0fbc..c69f25a03ffc 100644 --- a/components/ai_chat/core/browser/model_service.cc +++ b/components/ai_chat/core/browser/model_service.cc @@ -594,13 +594,18 @@ void ModelService::MigrateProfilePrefs(PrefService* profile_prefs) { profile_prefs->ClearPref(prefs::kObseleteBraveChatAutoGenerateQuestions); // Migrate old model keys to "chat-automatic" - constexpr std::array kOldModelKeys = { + constexpr std::array kOldModelKeys = { // Added: June 6, 2024. Checks can be removed eventually "chat-default", // Added: May 28, 2025. Checks can be removed eventually "chat-leo-expanded", // Added: July 15, 2025. Checks can be removed eventually "chat-vision-basic", + // These 4 added Feb 26, 2026. Checks can be removed eventually + "chat-llama-4-scout", + "chat-pixtral-large", + "chat-deepseek-v3-1", + "near-deepseek-v3-1", }; if (auto* default_model_value = From e00bd2bff241042f652c8515aa9bee6745a7615f Mon Sep 17 00:00:00 2001 From: jameshawrych <69646550+jameshawrych@users.noreply.github.com> Date: Fri, 27 Feb 2026 03:32:34 -0800 Subject: [PATCH 6/7] correct model key name to chat-near-deepseek --- components/ai_chat/core/browser/model_service.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/ai_chat/core/browser/model_service.cc b/components/ai_chat/core/browser/model_service.cc index 04351f99b4d2..4ad9e169c456 100644 --- a/components/ai_chat/core/browser/model_service.cc +++ b/components/ai_chat/core/browser/model_service.cc @@ -605,7 +605,7 @@ void ModelService::MigrateProfilePrefs(PrefService* profile_prefs) { "chat-llama-4-scout", "chat-pixtral-large", "chat-deepseek-v3-1", - "near-deepseek-v3-1", + "chat-near-deepseek-v3-1", }; if (auto* default_model_value = From 8769d5ef4828b4ef0c438f518fa6bc55385a2c67 Mon Sep 17 00:00:00 2001 From: Steeeephen <18271292+Steeeephen@users.noreply.github.com> Date: Mon, 2 Mar 2026 14:32:10 +0000 Subject: [PATCH 7/7] clean up strings --- components/resources/ai_chat_ui_strings.grdp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/components/resources/ai_chat_ui_strings.grdp b/components/resources/ai_chat_ui_strings.grdp index 8027a80f6b30..d1679d9976cc 100644 --- a/components/resources/ai_chat_ui_strings.grdp +++ b/components/resources/ai_chat_ui_strings.grdp @@ -111,9 +111,6 @@ Hi, I'm Leo. I'm an AI assistant by Brave. I'm powered by Claude Sonnet, a model created by Anthropic to power conversational and text processing tasks. Claude Sonnet is Brave-hosted through our own secure infrastructure.$1Learn more/$1 - - Hi, I'm Leo. I'm an AI assistant by Brave. I'm powered by Llama 4 Scout, a model created by Meta to be performant and applicable to many use cases. Llama 4 Scout is Brave-hosted through our own secure infrastructure.$1Learn more/$1 - Hi, I'm Leo. I'm an AI assistant by Brave. I'm powered by Llama 4 Maverick, a model created by Meta to be performant and applicable to many use cases. Llama 4 Maverick is Brave-hosted through our own secure infrastructure.$1Learn more/$1 @@ -126,15 +123,9 @@ Hi, I'm Leo. I'm an AI assistant by Brave. I'm powered by Mistral Large, a model created by Mistral to be performant and applicable to many use cases. Mistral Large is Brave-hosted through our own secure infrastructure.$1Learn more/$1 - - Hi, I'm Leo. I'm an AI assistant by Brave. I'm powered by Pixtral Large, a model created by Mistral to be performant and applicable to many use cases. Pixtral Large is Brave-hosted through our own secure infrastructure.$1Learn more/$1 - Hi, I'm Leo. I'm an AI assistant by Brave. I'm powered by Qwen 3 235B, a model created by Alibaba Cloud to be performant and applicable to many use cases. Qwen 3 235B is Brave-hosted through our own secure infrastructure.$1Learn more/$1 - - Hi, I'm Leo. I'm an AI assistant by Brave. I'm powered by Deepseek V3.1, a model created by Deepseek to be performant and applicable to many use cases. Deepseek V3.1 is Brave-hosted through our own secure infrastructure.$1Learn more/$1 - Hi, I'm Leo. I'm an AI assistant by Brave. I'm powered by Deepseek V3.2, a model created by Deepseek to be performant and applicable to many use cases. Deepseek V3.2 is Brave-hosted through our own secure infrastructure.$1Learn more/$1