diff options
| author | Dhravya <[email protected]> | 2024-06-22 18:23:05 -0500 |
|---|---|---|
| committer | Dhravya <[email protected]> | 2024-06-22 18:23:05 -0500 |
| commit | 445acf7c47b061107fdf1ce7bad5558ea2a909b3 (patch) | |
| tree | 0a738b7a816f7b61865558be567c88d86db238c3 /apps/web/app/api | |
| parent | deleted chatpage (diff) | |
| download | supermemory-chathistory.tar.xz supermemory-chathistory.zip | |
cleanupchathistory
Diffstat (limited to 'apps/web/app/api')
| -rw-r--r-- | apps/web/app/api/chat/route.ts | 5 |
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 }); } |