Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

test: provide local image catalog for autopilot schedule (#9913)

Adam Eivyd10f273d36da
diff --git a/client/src/components/cos/tabs/schedule/MusicVideoAutopilotSettings.test.jsx b/client/src/components/cos/tabs/schedule/MusicVideoAutopilotSettings.test.jsx
index e573fd4ebb..6200f5d835 100644
--- a/client/src/components/cos/tabs/schedule/MusicVideoAutopilotSettings.test.jsx
+++ b/client/src/components/cos/tabs/schedule/MusicVideoAutopilotSettings.test.jsx
@@ -7,7 +7,9 @@ vi.mock('../../../../services/apiMoodBoard.js', () => ({
vi.mock('../../../../services/apiMusic.js', () => ({
listMusicEngines: vi.fn(async () => ({ engines: [{ id: 'acestep', name: 'ACE-Step', ready: true, lyrics: true }] })),
}));
+vi.mock('../../../../services/apiSystem.js', () => ({ getSettings: vi.fn(async () => ({ imageGen: { local: { modelId: 'example-image' } } })) }));
vi.mock('../../../../services/apiImageVideo.js', () => ({
+ listImageModels: vi.fn(async () => [{ id: 'example-image', name: 'Example image' }]),
getVideoGenModelContext: vi.fn(async () => ({
models: [
{ id: 'example-ltx', name: 'Example LTX' },