Skip to content

Commit

Permalink
Fix memory/summary bug
Browse files Browse the repository at this point in the history
  • Loading branch information
josephrocca authored Nov 27, 2023
1 parent 027549c commit f29f034
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3783,8 +3783,8 @@ <h2 style="text-align:center;margin-bottom: 0.5rem;">Your Characters</h2>
// existingThreadMemories.sort((a,b) => a.index - b.index);
// let previousMemory = existingThreadMemories.at(-1);
// let previousMemoryIndex = previousMemory ? previousMemory.index : -1;
// let i = 0;
// let memoryObjsToAdd = [];
let i = 0;
let memoryObjsToAdd = [];
let previousMemoryIndex = highestMemoryIndexInCurrentMemories;
for(let memory of memories) {
let embedding = embeddings[i];
Expand Down

0 comments on commit f29f034

Please sign in to comment.