Skip to content

Commit

Permalink
Remove console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
zackrw committed Nov 30, 2023
1 parent 7d1cfa6 commit 99cf8fd
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/ui/api/ai.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.'
})
Expand Down

0 comments on commit 99cf8fd

Please sign in to comment.