diff --git a/frontend/components/settings/settings-ai.tsx b/frontend/components/settings/settings-ai.tsx
index 3f395fa..695eb3b 100644
--- a/frontend/components/settings/settings-ai.tsx
+++ b/frontend/components/settings/settings-ai.tsx
@@ -15,6 +15,7 @@ import {
} from "@/components/ui/select";
import {
FieldLabel,
+ SettingsCard,
SettingsFrame,
ToggleRow,
} from "@/components/settings/settings-parts";
@@ -209,7 +210,6 @@ export function AIPanel() {
<>
{policy ? (
@@ -238,7 +238,7 @@ export function AIPanel() {
/>
) : null}
{policyDirty ? (
-
+
+
) : null}
>
) : (
-
- {policy.aiEnabled
- ? policy.disabledForEmployees
- ? t("settings.ai.availability.readonlyEmployeesOnly")
- : t("settings.ai.availability.readonlyEnabled")
- : t("settings.ai.availability.readonlyDisabled")}
-
+
+
+ {policy.aiEnabled
+ ? policy.disabledForEmployees
+ ? t("settings.ai.availability.readonlyEmployeesOnly")
+ : t("settings.ai.availability.readonlyEnabled")
+ : t("settings.ai.availability.readonlyDisabled")}
+
+
)}
) : null}
@@ -267,7 +269,7 @@ export function AIPanel() {
description={t("settings.ai.modeDescription")}
title={t("settings.ai.modeTitle")}
>
-
+
{t("settings.ai.mode")}
+
{config.mode === "off" ? (
@@ -298,18 +300,20 @@ export function AIPanel() {
description={t("settings.ai.offDescription")}
title={t("settings.ai.offTitle")}
>
-
- {t("settings.ai.offNote")}
-
+
+
+ {t("settings.ai.offNote")}
+
+
) : config.mode !== "local" ? (
// API and Automatic both configure a cloud provider (Automatic falls
// back to local Ollama when no key is set).
+
{t("settings.ai.provider")}
@@ -396,13 +400,14 @@ export function AIPanel() {
+
) : (
+
{t("settings.ai.ollamaBaseUrl")}
@@ -432,15 +437,16 @@ export function AIPanel() {
? t("settings.ai.testing")
: t("settings.ai.testConnection")}
+
)}
{config.mode !== "off" ? (
+
{t("settings.ai.veilLevel")}