aboutsummaryrefslogtreecommitdiff
path: root/apps/web/app/api
diff options
context:
space:
mode:
authorDhravya <[email protected]>2024-06-22 18:23:05 -0500
committerDhravya <[email protected]>2024-06-22 18:23:05 -0500
commit445acf7c47b061107fdf1ce7bad5558ea2a909b3 (patch)
tree0a738b7a816f7b61865558be567c88d86db238c3 /apps/web/app/api
parentdeleted chatpage (diff)
downloadsupermemory-chathistory.tar.xz
supermemory-chathistory.zip
Diffstat (limited to 'apps/web/app/api')
-rw-r--r--apps/web/app/api/chat/route.ts5
1 files changed, 0 insertions, 5 deletions
diff --git a/apps/web/app/api/chat/route.ts b/apps/web/app/api/chat/route.ts
index 25b1845b..d0e53066 100644
--- a/apps/web/app/api/chat/route.ts
+++ b/apps/web/app/api/chat/route.ts
@@ -45,8 +45,6 @@ export async function POST(req: NextRequest) {
);
}
- console.log("validated.data.chatHistory", validated.data.chatHistory);
-
const modelCompatible = await convertChatHistoryList(
validated.data.chatHistory,
);
@@ -65,11 +63,8 @@ export async function POST(req: NextRequest) {
},
);
- console.log("sourcesOnly", sourcesOnly);
-
if (sourcesOnly == "true") {
const data = await resp.json();
- console.log("data", data);
return new Response(JSON.stringify(data), { status: 200 });
}