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.

test(create): the per sub-category pick test no longer names a removed model

purple87b3bd9c4077
diff --git a/src/stores/__tests__/cloud-op-pick-per-subcategory.test.ts b/src/stores/__tests__/cloud-op-pick-per-subcategory.test.ts
index f3ccd1ff..1e42c866 100644
--- a/src/stores/__tests__/cloud-op-pick-per-subcategory.test.ts
+++ b/src/stores/__tests__/cloud-op-pick-per-subcategory.test.ts
@@ -1,8 +1,8 @@
/**
* Jede Unterkategorie behaelt ihre eigene Modellwahl (Opus-Endpruefung
* 02.10.2026). cloudOpModel war ein gemeinsamer Platz fuer Lipsync, Musik,
- * Verlaengern, Motion und Enhance Image: eine Wahl in Enhance Image loeschte die
- * Musikwahl. Die Wahl ist nur Laufzeitzustand (nicht gespeichert), also gibt es
+ * Verlaengern und Motion: eine Wahl in einer Unterkategorie loeschte die Wahl
+ * der anderen. Die Wahl ist nur Laufzeitzustand (nicht gespeichert), also gibt es
* keine gespeicherte Wahl, die zu migrieren waere.
*
* Run: npx vitest run src/stores/__tests__/cloud-op-pick-per-subcategory.test.ts
@@ -17,21 +17,21 @@ beforeEach(() => {
})
describe('die Wahl je Unterkategorie', () => {
- it('Enhance Image loescht die Musikwahl nicht', () => {
+ it('Lip Sync loescht die Musikwahl nicht', () => {
st().setIntent('music')
st().setCloudOpModel('music-model-a')
- st().setIntent('upscale')
- expect(st().cloudOpModel).toBe('') // Enhance Image hat noch keine eigene Wahl
- st().setCloudOpModel('seedvr2')
- expect(st().cloudOpModel).toBe('seedvr2')
+ st().setIntent('lipsync')
+ expect(st().cloudOpModel).toBe('') // Lip Sync hat noch keine eigene Wahl
+ st().setCloudOpModel('lipsync-model-b')
+ expect(st().cloudOpModel).toBe('lipsync-model-b')
st().setIntent('music')
expect(st().cloudOpModel).toBe('music-model-a')
- st().setIntent('upscale')
- expect(st().cloudOpModel).toBe('seedvr2')
+ st().setIntent('lipsync')
+ expect(st().cloudOpModel).toBe('lipsync-model-b')
})
it('Lipsync, Musik, Verlaengern und Motion halten je ihre Wahl', () => {
- const picks: Record<string, string> = { lipsync: 'l-1', music: 'm-1', extend: 'e-1', motion: 'mo-1', upscale: 'u-1' }
+ const picks: Record<string, string> = { lipsync: 'l-1', music: 'm-1', extend: 'e-1', motion: 'mo-1' }
for (const [intent, id] of Object.entries(picks)) {
st().setIntent(intent as never)
st().setCloudOpModel(id)