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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user