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(luc): R5-42, das Handbuch spricht dem Paketkunden die Freimenge nicht ab

David981c82a4f67f
diff --git a/docs/guide/cloud/index.html b/docs/guide/cloud/index.html
index e24f32f2..6a891256 100644
--- a/docs/guide/cloud/index.html
+++ b/docs/guide/cloud/index.html
@@ -111,7 +111,7 @@
<p>Some hosted chat models carry the word Flash. On a paid plan, inside the apps, those models answer without spending credits, up to a published daily ceiling of <span data-flash-limit="500000">500,000 input and output tokens per account per day</span>, which resets at 00:00 UTC. The notice in the app reads "Flash: 500,000 input and output tokens per UTC day without credits" and adds "API keys always use credits."</p>
-<p>The conditions, as the app and the pricing page state them: it is a paid plan benefit, so a pack without a plan does not get it; only one free request can run at a time per account, and a second one is refused rather than billed ("One free chat request is already running on this account. Wait for it to finish or stop it first."); a request whose budget would exceed what is left of the day's allowance runs at normal credit pricing, with a notice in the app; and a request through an API key always uses credits, Flash or not. The current list of Flash models is on the <a href="/pricing/">pricing page</a>.</p>
+<p>The conditions, as the app and the pricing page state them: it is a paid benefit, so an account that has never paid does not get it, whether it holds a plan or a pack; only one free request can run at a time per account, and a second one is refused rather than billed ("One free chat request is already running on this account. Wait for it to finish or stop it first."); a request whose budget would exceed what is left of the day's allowance runs at normal credit pricing, with a notice in the app; and a request through an API key always uses credits, Flash or not. The current list of Flash models is on the <a href="/pricing/">pricing page</a>.</p>
<h2 id="marks">The marks in the picker</h2>
diff --git a/scripts/check-cloud-sales.mjs b/scripts/check-cloud-sales.mjs
index 097a770f..596ae8b3 100644
--- a/scripts/check-cloud-sales.mjs
+++ b/scripts/check-cloud-sales.mjs
@@ -419,3 +419,22 @@ assert.equal(
`planPays requires an account that has paid, so no LU column may promise a free Flash path: ${freePathOffences.length} claim(s) on ${freePathPages} page(s) [${freePathOffences.join(', ')}]`,
)
console.log('Comparison guard passed: 0 free-path claims in the LU column of 9 comparison pages, and planPays still requires an account that has paid.')
+
+// ── Das Handbuch spricht dem Paketkunden nichts ab ──────────────────
+//
+// planPays ist true, sobald Geld angekommen ist: ein Paketkauf schreibt eine
+// starter-Lizenz und setzt paidBefore, also zahlt das Konto. Die Bedingung ist
+// "hat je gezahlt", nicht "haelt einen Plan". Solange die Regel so lautet, darf
+// das Handbuch dem Paketkunden die Freimenge nicht absprechen.
+const handbookText = readFileSync(new URL('../docs/guide/cloud/index.html', import.meta.url), 'utf8')
+if (flashNeedsPaidAccount) {
+ assert.ok(
+ !/pack without a plan does not get it/i.test(handbookText),
+ 'docs/guide/cloud/index.html: planPays counts a paid pack, so the handbook may not exclude it',
+ )
+ assert.ok(
+ /an account that has never paid does not get it/i.test(handbookText),
+ 'docs/guide/cloud/index.html: the condition planPays really applies is missing',
+ )
+}
+console.log('Handbook guard passed: the Flash condition reads as planPays writes it, paid once rather than plan held.')