Cleanup/code cleanup 2026 03 (#45)
* chore: cleanup of unused exports and stuff * fix: media and languages was broken for english media * fix: embedding model load was broken on standalone --------- Co-authored-by: hugo <hugoms@me.com>
This commit is contained in:
@@ -138,6 +138,7 @@ function createMockPipeline(): EmbeddingPipeline {
|
||||
function makeEngine(tmpDir: string): EmbeddingEngine {
|
||||
return new EmbeddingEngine({
|
||||
getIndexPath: (projectId: string) => path.join(tmpDir, `${projectId}.usearch`),
|
||||
modelCacheDir: path.join(tmpDir, 'model-cache'),
|
||||
createPipeline: async () => createMockPipeline(),
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user