From 6e00c98ecbaaab5251a53875ae61d7231e76c908 Mon Sep 17 00:00:00 2001 From: John Jeong Date: Mon, 30 Jun 2025 15:13:20 -0700 Subject: [PATCH 1/2] feat(settings): update LLM endpoint URL placeholder Modify the placeholder text for the LLM endpoint URL input field to include the "/v1" path, as this is a common convention for API endpoints. This provides more clarity to the user on the expected format of the URL. --- .../src/components/settings/components/ai/llm-view.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/desktop/src/components/settings/components/ai/llm-view.tsx b/apps/desktop/src/components/settings/components/ai/llm-view.tsx index 62f4087836..cfad6e0e85 100644 --- a/apps/desktop/src/components/settings/components/ai/llm-view.tsx +++ b/apps/desktop/src/components/settings/components/ai/llm-view.tsx @@ -201,13 +201,13 @@ export function LLMView() { - Enter the base URL for your custom LLM endpoint (e.g., http://localhost:11434) + Enter the base URL for your custom LLM endpoint (e.g., http://localhost:11434/v1) From f5381eabb87be7ed957005bd6cac405e7b3820f3 Mon Sep 17 00:00:00 2001 From: John Jeong Date: Mon, 30 Jun 2025 15:13:30 -0700 Subject: [PATCH 2/2] i18n --- apps/desktop/src/locales/en/messages.po | 8 ++++---- apps/desktop/src/locales/ko/messages.po | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/apps/desktop/src/locales/en/messages.po b/apps/desktop/src/locales/en/messages.po index 4dd4050250..c5f294b867 100644 --- a/apps/desktop/src/locales/en/messages.po +++ b/apps/desktop/src/locales/en/messages.po @@ -564,12 +564,12 @@ msgid "Enter the API key for your custom LLM endpoint" msgstr "Enter the API key for your custom LLM endpoint" #: src/components/settings/components/ai/llm-view.tsx:203 -msgid "Enter the base URL for your custom LLM endpoint (e.g., http://localhost:11434)" -msgstr "Enter the base URL for your custom LLM endpoint (e.g., http://localhost:11434)" +#~ msgid "Enter the base URL for your custom LLM endpoint (e.g., http://localhost:11434)" +#~ msgstr "Enter the base URL for your custom LLM endpoint (e.g., http://localhost:11434)" #: src/components/settings/components/ai/llm-view.tsx:203 -#~ msgid "Enter the base URL for your custom LLM endpoint (e.g., http://localhost:11434/v1)" -#~ msgstr "Enter the base URL for your custom LLM endpoint (e.g., http://localhost:11434/v1)" +msgid "Enter the base URL for your custom LLM endpoint (e.g., http://localhost:11434/v1)" +msgstr "Enter the base URL for your custom LLM endpoint (e.g., http://localhost:11434/v1)" #: src/components/settings/components/ai/llm-view.tsx:203 #~ msgid "Enter the base URL for your custom LLM endpoint (e.g., http://localhost:8080/v1)" diff --git a/apps/desktop/src/locales/ko/messages.po b/apps/desktop/src/locales/ko/messages.po index 96732dc93a..04e8e111c1 100644 --- a/apps/desktop/src/locales/ko/messages.po +++ b/apps/desktop/src/locales/ko/messages.po @@ -564,12 +564,12 @@ msgid "Enter the API key for your custom LLM endpoint" msgstr "" #: src/components/settings/components/ai/llm-view.tsx:203 -msgid "Enter the base URL for your custom LLM endpoint (e.g., http://localhost:11434)" -msgstr "" +#~ msgid "Enter the base URL for your custom LLM endpoint (e.g., http://localhost:11434)" +#~ msgstr "" #: src/components/settings/components/ai/llm-view.tsx:203 -#~ msgid "Enter the base URL for your custom LLM endpoint (e.g., http://localhost:11434/v1)" -#~ msgstr "" +msgid "Enter the base URL for your custom LLM endpoint (e.g., http://localhost:11434/v1)" +msgstr "" #: src/components/settings/components/ai/llm-view.tsx:203 #~ msgid "Enter the base URL for your custom LLM endpoint (e.g., http://localhost:8080/v1)"