Skip to content

The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.

fix(inhaltsrichtlinie): "and reported" faellt auch auf der Einstellungsseite

purple761086792e46
diff --git a/src/components/settings/ContentPolicySettings.tsx b/src/components/settings/ContentPolicySettings.tsx
index 4dc9ea6f..874436d7 100644
--- a/src/components/settings/ContentPolicySettings.tsx
+++ b/src/components/settings/ContentPolicySettings.tsx
@@ -121,7 +121,7 @@ export function ContentPolicySettings() {
<p className="text-[0.6rem] text-gray-500 leading-relaxed">
Material involving minors, and photographs of real people uploaded without their consent,
- are refused on every request whatever this is set to, and reported.
+ are refused on every request whatever this is set to.
</p>
</div>
)
diff --git a/src/components/settings/__tests__/content-policy-settings.test.tsx b/src/components/settings/__tests__/content-policy-settings.test.tsx
index a5b6dd9b..0f72da93 100644
--- a/src/components/settings/__tests__/content-policy-settings.test.tsx
+++ b/src/components/settings/__tests__/content-policy-settings.test.tsx
@@ -76,6 +76,26 @@ describe('ContentPolicySettings', () => {
expect(text).toMatch(/consent/i)
})
+ /**
+ * Derselbe Grund wie beim Blatt in A5 (R6-2): der Meldeweg steht nicht.
+ * SAFETY_ALERT_WEBHOOK_URL ist auf dem Droplet nicht gesetzt, alertCsamBlock
+ * steigt ohne Ziel sofort aus, und keine Migration legt eine Tabelle dafuer
+ * an. Die Sperre selbst bleibt wortgleich und wird nie schwaecher; nur die
+ * Zusage, die die App nicht einloest, faellt weg.
+ */
+ it('verspricht keine Meldung, die niemand verschickt', () => {
+ render(<ContentPolicySettings />)
+ const text = document.body.textContent ?? ''
+ expect(text).toMatch(/refused on every request whatever this is set to\./)
+ expect(text).not.toMatch(/and reported/i)
+ })
+
+ it('NEGATIVKONTROLLE: die Sperre selbst steht unveraendert da', () => {
+ render(<ContentPolicySettings />)
+ const text = document.body.textContent ?? ''
+ expect(text).toMatch(/Material involving minors, and photographs of real people uploaded without their consent, are refused on every request/)
+ })
+
it('says plainly that the local machine is not affected', () => {
render(<ContentPolicySettings />)
expect(document.body.textContent ?? '').toMatch(/nothing on\s+your own machine is/i)