From 04ed0302767a36d64654bc02b0b202f0b91195af Mon Sep 17 00:00:00 2001 From: DirkSchlossmacher <62424946+DirkSchlossmacher@users.noreply.github.com> Date: Thu, 23 Nov 2023 13:51:49 +0100 Subject: [PATCH] session or email is not available --- app/client/platforms/openai.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/client/platforms/openai.ts b/app/client/platforms/openai.ts index 19d5e5ebe..c74af0d61 100644 --- a/app/client/platforms/openai.ts +++ b/app/client/platforms/openai.ts @@ -123,7 +123,7 @@ export class ChatGPTApi implements LLMApi { // ... rest of your API route logic ... } else { // Handle cases where the session or email is not available - res.status(401).json({ error: 'Unauthorized' }); + console.log("API Call: session or email is not available - model: ", modelIdentifier); } // }