diff --git a/surfsense_web/components/settings/image-model-manager.tsx b/surfsense_web/components/settings/image-model-manager.tsx index 7b0db5596..1c8394c9c 100644 --- a/surfsense_web/components/settings/image-model-manager.tsx +++ b/surfsense_web/components/settings/image-model-manager.tsx @@ -196,11 +196,7 @@ export function ImageModelManager({ searchSpaceId }: ImageModelManagerProps) { - - {globalConfigs.filter((g) => !("is_auto_mode" in g && g.is_auto_mode)).length} global - image model(s) - {" "} - available from your administrator. +

{globalConfigs.filter((g) => !("is_auto_mode" in g && g.is_auto_mode)).length} global image {globalConfigs.filter((g) => !("is_auto_mode" in g && g.is_auto_mode)).length === 1 ? "model" : "models"} available from your administrator. Use the model selector to view and select them.

)} diff --git a/surfsense_web/components/settings/model-config-manager.tsx b/surfsense_web/components/settings/model-config-manager.tsx index 80bfd8e31..64bd7455f 100644 --- a/surfsense_web/components/settings/model-config-manager.tsx +++ b/surfsense_web/components/settings/model-config-manager.tsx @@ -196,7 +196,7 @@ export function ModelConfigManager({ searchSpaceId }: ModelConfigManagerProps) { onClick={openNewDialog} className="gap-2 bg-white text-black hover:bg-neutral-100 dark:bg-white dark:text-black dark:hover:bg-neutral-200" > - Add Configuration + Add LLM Model )} @@ -243,18 +243,12 @@ export function ModelConfigManager({ searchSpaceId }: ModelConfigManagerProps) { {/* Global Configs Info */} {globalConfigs.length > 0 && ( -
- - - - {globalConfigs.length} global configuration(s){" "} - available from your administrator. These are pre-configured and ready to use.{" "} - - Global configs: {globalConfigs.map((g) => g.name).join(", ")} - - - -
+ + + +

{globalConfigs.length} global {globalConfigs.length === 1 ? "model" : "models"} available from your administrator. Use the model selector to view and select them.

+
+
)} {/* Loading Skeleton */} diff --git a/surfsense_web/messages/en.json b/surfsense_web/messages/en.json index 22097b212..53f80ea5f 100644 --- a/surfsense_web/messages/en.json +++ b/surfsense_web/messages/en.json @@ -640,7 +640,6 @@ "active": "Active", "your_configs": "Your Configurations", "manage_configs": "Manage and configure your LLM providers", - "add_config": "Add Configuration", "no_configs": "No Configurations Yet", "no_configs_desc": "Add your own LLM provider configurations.", "add_first_config": "Add First Configuration", diff --git a/surfsense_web/messages/es.json b/surfsense_web/messages/es.json index 83a00e721..36e627295 100644 --- a/surfsense_web/messages/es.json +++ b/surfsense_web/messages/es.json @@ -640,7 +640,6 @@ "active": "Activo", "your_configs": "Tus configuraciones", "manage_configs": "Administra y configura tus proveedores de LLM", - "add_config": "Agregar configuración", "no_configs": "Aún no hay configuraciones", "no_configs_desc": "Agrega tus propias configuraciones de proveedor de LLM.", "add_first_config": "Agregar primera configuración", diff --git a/surfsense_web/messages/hi.json b/surfsense_web/messages/hi.json index ae3a77c2e..fd51acdc2 100644 --- a/surfsense_web/messages/hi.json +++ b/surfsense_web/messages/hi.json @@ -640,7 +640,6 @@ "active": "सक्रिय", "your_configs": "आपकी कॉन्फ़िगरेशन", "manage_configs": "अपने LLM प्रदाता प्रबंधित और कॉन्फ़िगर करें", - "add_config": "कॉन्फ़िगरेशन जोड़ें", "no_configs": "अभी तक कोई कॉन्फ़िगरेशन नहीं", "no_configs_desc": "अपनी LLM प्रदाता कॉन्फ़िगरेशन जोड़ें।", "add_first_config": "पहली कॉन्फ़िगरेशन जोड़ें", diff --git a/surfsense_web/messages/pt.json b/surfsense_web/messages/pt.json index f622c0e51..e26499f90 100644 --- a/surfsense_web/messages/pt.json +++ b/surfsense_web/messages/pt.json @@ -640,7 +640,6 @@ "active": "Ativo", "your_configs": "Suas configurações", "manage_configs": "Gerencie e configure seus provedores de LLM", - "add_config": "Adicionar configuração", "no_configs": "Nenhuma configuração ainda", "no_configs_desc": "Adicione suas próprias configurações de provedor de LLM.", "add_first_config": "Adicionar primeira configuração", diff --git a/surfsense_web/messages/zh.json b/surfsense_web/messages/zh.json index 2a1688b63..819432410 100644 --- a/surfsense_web/messages/zh.json +++ b/surfsense_web/messages/zh.json @@ -624,7 +624,6 @@ "active": "活跃", "your_configs": "您的配置", "manage_configs": "管理和配置您的 LLM 提供商", - "add_config": "添加配置", "no_configs": "暂无配置", "no_configs_desc": "添加您自己的 LLM 提供商配置。", "add_first_config": "添加首个配置",