Skip to content

Commit aaa472a

Browse files
authored
Merge pull request #33 from your-papa/dev
Release 0.2.5
2 parents 1af4669 + 1f9f785 commit aaa472a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "Interact with your privacy focused assistant, leveraging Ollama or OpenAI, making your second brain even smarter.",
55
"author": "Leo310, nicobrauchtgit",
66
"authorUrl": "https://github.com/nicobrauchtgit",
7-
"version": "0.2.4",
7+
"version": "0.2.5",
88
"minAppVersion": "1.5.0",
99
"isDesktopOnly": true
1010
}

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ export default class SecondBrainPlugin extends Plugin {
149149
// `Indexing notes into your smart second brain... Added: ${result.numAdded}, Skipped: ${result.numSkipped}, Deleted: ${result.numDeleted}`
150150
// );
151151
needsSave = (!this.needsToSaveVectorStoreData && result.numAdded > 0) || result.numDeleted > 0;
152-
const progress = ((result.numAdded + result.numDeleted + result.numSkipped) / docs.length) * 100;
152+
const progress = ((result.numAdded + result.numSkipped) / docs.length) * 100;
153153
papaIndexingProgress.set(Math.max(progress, get(papaIndexingProgress)));
154154
// pause indexing on "indexing-stopped" state
155155
if (get(papaState) === 'indexing-paused') break;

0 commit comments

Comments
 (0)