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

View File

@@ -943,6 +943,7 @@ app.whenReady().then(async () => {
const embeddingEngine = new EmbeddingEngine({
getIndexPath: (projectId: string) =>
path.join(userData, 'projects', projectId, 'embeddings.usearch'),
modelCacheDir: path.join(userData, 'model-cache'),
});
const appApiAdapter = new AppApiAdapter(projectEngine);
const publishApiAdapter = new PublishApiAdapter(projectEngine, publishEngine, taskManager);