From 5b8d26a08a7339ca552b44e5d0841e363e3d56b4 Mon Sep 17 00:00:00 2001 From: Dominic Cooney Date: Wed, 11 Dec 2024 10:27:30 +0900 Subject: [PATCH] Fix failing test related to deep cody defaults. --- lib/shared/src/models/sync.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/shared/src/models/sync.test.ts b/lib/shared/src/models/sync.test.ts index 0cc1e9e25670..d68576cf9c4a 100644 --- a/lib/shared/src/models/sync.test.ts +++ b/lib/shared/src/models/sync.test.ts @@ -510,7 +510,7 @@ describe('syncModels', () => { vi.spyOn(modelsService, 'modelsChanges', 'get').mockReturnValue(Observable.of(result)) // Check if Deep Cody model is in the primary models list. - expect(result.primaryModels.some(model => model.id.includes('deep-cody'))).toBe(true) + expect(result.primaryModels.some(model => model.id.includes('deep-cody'))).toBe(false) // Deep Cody should not replace the default chat / edit model. expect(result.preferences.defaults.chat?.includes('deep-cody')).toBe(false)