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.

Merge branch 'fix/300-logik-ui-c' into release/3.0.0

purplee9268b6d4699
diff --cc src/lib/__tests__/cloud-pitch.test.ts
index 0437cb06,fb582047..a36abbcc
--- a/src/lib/__tests__/cloud-pitch.test.ts
+++ b/src/lib/__tests__/cloud-pitch.test.ts
@@@ -9,16 -9,12 +9,20 @@@
import { describe, expect, it } from 'vitest'
import { CLOUD_PITCH, cloudPitchLines } from '../cloud-pitch'
+/**
+ * R2-47: drei Zeilen, nie vier. Eine vierte Zeile faellt hier auf, bevor sie
+ * an der Oberflaeche steht.
+ */
describe('cloud pitch', () => {
+ it('is exactly three lines', () => {
+ expect(cloudPitchLines()).toHaveLength(3)
+ })
+
it('leads with what the models may do, then the price, then the equipment', () => {
+ // R2-47: erst zaehlen, dann lesen. Bis 3.0.0 pruefte der Waechter drei
+ // Zeilen inhaltlich und zaehlte sie nie, waehrend CloudGateModal jede Zeile
+ // rendert, die er bekommt: eine vierte stuende ungeprueft im Kaufmoment.
+ expect(cloudPitchLines()).toHaveLength(3)
const [first, second, third] = cloudPitchLines()
expect(first).toMatch(/without refusing/i)
expect(second).toMatch(/no credits/i)