diff options
| author | Dhravya Shah <[email protected]> | 2024-06-17 20:17:35 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-06-17 20:17:35 -0500 |
| commit | 6aa8dc448936badbcd886b2e5fdd8d8368fb11f3 (patch) | |
| tree | a8ea78964b390e253064f81c34f4e79be2355f21 /apps/web | |
| parent | Merge pull request #70 from CodeTorso/codetorso (diff) | |
| parent | include all selected spaces in the fetch call to backend (diff) | |
| download | supermemory-6aa8dc448936badbcd886b2e5fdd8d8368fb11f3.tar.xz supermemory-6aa8dc448936badbcd886b2e5fdd8d8368fb11f3.zip | |
Merge pull request #71 from Dhravya/vector-deduplication
Vector deduplication
Diffstat (limited to 'apps/web')
| -rw-r--r-- | apps/web/app/actions/doers.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/web/app/actions/doers.ts b/apps/web/app/actions/doers.ts index f94ed8ec..6c7180d9 100644 --- a/apps/web/app/actions/doers.ts +++ b/apps/web/app/actions/doers.ts @@ -168,8 +168,7 @@ export const createMemory = async (input: { title: metadata.title, description: metadata.description, url: metadata.baseUrl, - // TODO: now, in the vector store, we are only saving the first space. We need to save all spaces. - space: storeToSpaces[0], + spaces: storeToSpaces, user: data.user.id, type, }), |