aboutsummaryrefslogtreecommitdiff
path: root/apps/web/app/api/chat/route.ts
diff options
context:
space:
mode:
Diffstat (limited to 'apps/web/app/api/chat/route.ts')
-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 });
}