diff --git a/frontend/editor/public/locales/en-GB/translation.toml b/frontend/editor/public/locales/en-GB/translation.toml index 71510f202a..a536690dc6 100644 --- a/frontend/editor/public/locales/en-GB/translation.toml +++ b/frontend/editor/public/locales/en-GB/translation.toml @@ -818,7 +818,7 @@ openai = "OpenAI API key" setPlaceholder = "Saved - leave blank to keep the current key" [admin.settings.ai.models.baseUrl] -contextWindow = "Check the model's context window. The engine sends prompts of several thousand tokens and a window below 16,384 will silently truncate them - the oldest part of the prompt is dropped, so the model answers without having seen the request. Ollama defaults to 4,096 and divides that between parallel requests; raise it with OLLAMA_CONTEXT_LENGTH on the server." +contextWindow = "Use a context window of at least 16,384 tokens. Smaller windows silently drop part of the prompt. Ollama defaults to 4,096 - raise OLLAMA_CONTEXT_LENGTH." description = "Base URL of the OpenAI-compatible / Ollama endpoint, e.g. http://ollama:11434/v1." label = "Provider base URL" warning = "The base URL must point at a trusted internal endpoint. The engine will make server-side requests to it, so an untrusted value is SSRF-sensitive." diff --git a/frontend/editor/public/locales/en-US/translation.toml b/frontend/editor/public/locales/en-US/translation.toml index 8a724a2a48..a4132fc847 100644 --- a/frontend/editor/public/locales/en-US/translation.toml +++ b/frontend/editor/public/locales/en-US/translation.toml @@ -818,7 +818,7 @@ openai = "OpenAI API key" setPlaceholder = "Saved - leave blank to keep the current key" [admin.settings.ai.models.baseUrl] -contextWindow = "Check the model's context window. The engine sends prompts of several thousand tokens and a window below 16,384 will silently truncate them - the oldest part of the prompt is dropped, so the model answers without having seen the request. Ollama defaults to 4,096 and divides that between parallel requests; raise it with OLLAMA_CONTEXT_LENGTH on the server." +contextWindow = "Use a context window of at least 16,384 tokens. Smaller windows silently drop part of the prompt. Ollama defaults to 4,096 - raise OLLAMA_CONTEXT_LENGTH." description = "Base URL of the OpenAI-compatible / Ollama endpoint, e.g. http://ollama:11434/v1." label = "Provider base URL" warning = "The base URL must point at a trusted internal endpoint. The engine will make server-side requests to it, so an untrusted value is SSRF-sensitive." diff --git a/frontend/editor/src/proprietary/components/shared/config/configSections/AdminAiModelsSection.tsx b/frontend/editor/src/proprietary/components/shared/config/configSections/AdminAiModelsSection.tsx index ce30b1df82..8a5621fec3 100644 --- a/frontend/editor/src/proprietary/components/shared/config/configSections/AdminAiModelsSection.tsx +++ b/frontend/editor/src/proprietary/components/shared/config/configSections/AdminAiModelsSection.tsx @@ -382,7 +382,7 @@ export default function AdminAiModelsSection() { {t( "admin.settings.ai.models.baseUrl.contextWindow", - "Check the model's context window. The engine sends prompts of several thousand tokens and a window below 16,384 will silently truncate them - the oldest part of the prompt is dropped, so the model answers without having seen the request. Ollama defaults to 4,096 and divides that between parallel requests; raise it with OLLAMA_CONTEXT_LENGTH on the server.", + "Use a context window of at least 16,384 tokens. Smaller windows silently drop part of the prompt. Ollama defaults to 4,096 - raise OLLAMA_CONTEXT_LENGTH.", )}