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(marke): der Browserbeweis liest die Marke unter ihrem neuen Namen

purple03aff3b62b91
diff --git a/e2e/flash-chat-billing.spec.ts b/e2e/flash-chat-billing.spec.ts
index 51de61b2..1631d6bc 100644
--- a/e2e/flash-chat-billing.spec.ts
+++ b/e2e/flash-chat-billing.spec.ts
@@ -37,12 +37,14 @@ test('flash metadata and paid fallback reach the actual desktop composer', async
await page.getByRole('button', { name: /New Chat/i }).first().click()
await page.getByRole('button', { name: 'Select chat model', exact: true }).click()
const row = page.getByRole('button', { name: /Llama 3.1 8B Turbo/ })
- // 7fa4b26b gab beiden Marken denselben Wortlaut in Auswahl und
- // Eingabezeile: aus "Flash" wurde "No credits". Entscheid 4 der Fixliste hat
- // daraus "Included" gemacht, weil "No credits" sich als Eigenschaft des
- // Modells las und eine Eigenschaft des Kontos ist. Die Zeile selbst ist
- // unveraendert, nur ihr Aufdruck.
- await expect(row.getByText('Included', { exact: true })).toBeVisible()
+ // Der Aufdruck der Marke ist zweimal gewandert: "Flash", dann "No credits",
+ // dann "Included". David am 12.09.2026 endgueltig zurueck auf "No credits",
+ // weil "Included" nur sagt, dass etwas dabei ist. Dass die Marke am KONTO
+ // haengt, traegt die Logik daneben und der Titel, nicht das Etikett. Die
+ // Zeile selbst ist unveraendert, nur ihr Aufdruck.
+ const marke = row.getByText('No credits', { exact: true })
+ await expect(marke).toBeVisible()
+ await expect(marke).toHaveAttribute('title', 'No credits on your plan, up to 50,000 tokens per day.')
await row.click()
await expect(page.getByTestId('flash-chat-notice')).toContainText('50,000 input and output tokens')
const composer = page.locator('textarea').first()
diff --git a/src/components/settings/__tests__/der-altpfad-steht-auch-im-desktop.test.tsx b/src/components/settings/__tests__/der-altpfad-steht-auch-im-desktop.test.tsx
index 5a28097e..2813630d 100644
--- a/src/components/settings/__tests__/der-altpfad-steht-auch-im-desktop.test.tsx
+++ b/src/components/settings/__tests__/der-altpfad-steht-auch-im-desktop.test.tsx
@@ -25,11 +25,11 @@ const befund = {
previous: [{ id: 'alt-1', content: 'aus der alten Kopie' }],
current: [{ memory_id: 'alt-1', revision: 4, deleted: false, payload: { id: 'alt-1' }, updated_at: 'x' }],
}
-const angesehen = vi.fn(async () => befund)
-const entfernt = vi.fn(async () => {})
+const angesehen = vi.fn(async (_owner: string, _signal?: AbortSignal) => befund)
+const entfernt = vi.fn(async (_review: unknown, _confirmed: boolean, _signal?: AbortSignal) => {})
vi.mock('../../../lib/memory-legacy', () => ({
- reviewPreviousMemories: (...args: unknown[]) => angesehen(...(args as [])),
- finalizePreviousMemories: (...args: unknown[]) => entfernt(...(args as [])),
+ reviewPreviousMemories: (owner: string, signal?: AbortSignal) => angesehen(owner, signal),
+ finalizePreviousMemories: (review: unknown, confirmed: boolean, signal?: AbortSignal) => entfernt(review, confirmed, signal),
}))
const { MemorySettings } = await import('../MemorySettings')