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:
Georg Bauerandhugo authored and GitHub committed 2026-03-10 19:54:38 +01:00
1 parent 4f9be93c6d
commit 1b4ab08c37
60 files changed
+176 -1696

No files matched your search

+1
View File
@@ -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(),
});
}