From 99cf8fd4ce589ffd725833f90a61d32cd8377312 Mon Sep 17 00:00:00 2001 From: Zack Reneau-Wedeen Date: Wed, 29 Nov 2023 16:50:13 -0800 Subject: [PATCH] Remove console logs --- packages/ui/api/ai.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/ui/api/ai.ts b/packages/ui/api/ai.ts index b9df3338..8db6d151 100644 --- a/packages/ui/api/ai.ts +++ b/packages/ui/api/ai.ts @@ -60,7 +60,6 @@ export default async (req: Request) => { ] } const exists = await redis.exists(`chat:${id}`) - console.log(exists) if (!exists) { // @ts-ignore redis types seem to require [key: string] payload.createdAt = updatedAt @@ -71,7 +70,6 @@ export default async (req: Request) => { return new StreamingTextResponse(stream); } catch (e) { - console.log(e) return Response.json({ error: 'Could not retrieve results.' })