diff --git a/app/client/platforms/openai.ts b/app/client/platforms/openai.ts index 75d361a7e..d059aa056 100644 --- a/app/client/platforms/openai.ts +++ b/app/client/platforms/openai.ts @@ -28,27 +28,6 @@ import { incrementAPICallCount } from '../../utils/cloud/redisRestClient'; - - -export default async function handler(req, res) { - const session = await getServerSession(req, res, authOptions) - - if (!session) { - res.status(401).json({ message: "You must be logged in." }); - return; - } - - console.log("session within openai.ts:", session); - - return res.json({ - message: 'Success', - }) -} - - - - - export interface OpenAIListModelResponse { object: string; data: Array<{