From b52b60a0f57fa2f956f50e7af0e26389529d8b4e Mon Sep 17 00:00:00 2001 From: Sampson Date: Mon, 18 Nov 2024 08:36:18 -0600 Subject: [PATCH] supplemental comment(s) in mojom files --- components/ai_chat/core/common/mojom/ai_chat.mojom | 1 + components/ai_chat/core/common/mojom/settings_helper.mojom | 1 + 2 files changed, 2 insertions(+) diff --git a/components/ai_chat/core/common/mojom/ai_chat.mojom b/components/ai_chat/core/common/mojom/ai_chat.mojom index 1fb284dba244..d7db37ad0cc0 100644 --- a/components/ai_chat/core/common/mojom/ai_chat.mojom +++ b/components/ai_chat/core/common/mojom/ai_chat.mojom @@ -217,6 +217,7 @@ struct CustomModelOptions { uint32 long_conversation_warning_character_limit; // a user-specified prompt to be used with the model string? model_system_prompt; + // the endpoint could be a local network address or a remote server url.mojom.Url endpoint; string api_key; }; diff --git a/components/ai_chat/core/common/mojom/settings_helper.mojom b/components/ai_chat/core/common/mojom/settings_helper.mojom index 8aaf86085dc9..4e0e7ba7f2b9 100644 --- a/components/ai_chat/core/common/mojom/settings_helper.mojom +++ b/components/ai_chat/core/common/mojom/settings_helper.mojom @@ -11,6 +11,7 @@ enum OperationResult { Success, InvalidUrl, InvalidContextSize, + // for use with the `brave-ai-chat-allow-private-ips` feature. UrlValidAsPrivateEndpoint, };