Skip to content

Commit 3a88b4c

Browse files
fix: update config default and test to match nomic-v1.5 change
1 parent f40bb91 commit 3a88b4c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export const DEFAULTS = {
1919
defaultDepth: 3,
2020
defaultLimit: 20,
2121
},
22-
embeddings: { model: 'jina-code', llmProvider: null },
22+
embeddings: { model: 'nomic-v1.5', llmProvider: null },
2323
llm: { provider: null, model: null, baseUrl: null, apiKey: null, apiKeyCommand: null },
2424
search: { defaultMinScore: 0.2, rrfK: 60, topK: 15 },
2525
ci: { failOnCycles: false, impactThreshold: null },

tests/unit/config.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ describe('DEFAULTS', () => {
5555
});
5656

5757
it('has embeddings defaults', () => {
58-
expect(DEFAULTS.embeddings).toEqual({ model: 'jina-code', llmProvider: null });
58+
expect(DEFAULTS.embeddings).toEqual({ model: 'nomic-v1.5', llmProvider: null });
5959
});
6060

6161
it('has llm defaults', () => {

0 commit comments

Comments
 (0)