session or email is not available

This commit is contained in:
DirkSchlossmacher 2023-11-23 13:51:49 +01:00
parent 4b66ba8821
commit 04ed030276

View File

@ -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);
}
// }