mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-10-06 02:47:54 +00:00
send a sliced version to the API
This commit is contained in:
parent
32bb9d7759
commit
5846c494f3
1 changed files with 2 additions and 2 deletions
|
|
@ -24,8 +24,8 @@ export const createMemoryFromAPI = async (input: {
|
|||
method: "POST",
|
||||
body: JSON.stringify({
|
||||
pageContent: input.data.pageContent,
|
||||
title: input.data.title,
|
||||
description: input.data.description,
|
||||
title: input.data.title.slice(0, 500),
|
||||
description: input.data.description.slice(0, 500),
|
||||
url: input.data.url,
|
||||
spaces: input.data.spaces,
|
||||
user: input.userId,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue