The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Fix openai api key empty state not showing in local (#34120)
Joshen Lim6f765da8298c
diff --git a/apps/studio/pages/api/ai/sql/check-api-key.ts b/apps/studio/pages/api/ai/sql/check-api-key.tsindex 5c95b625b26..177d4739861 100644--- a/apps/studio/pages/api/ai/sql/check-api-key.ts+++ b/apps/studio/pages/api/ai/sql/check-api-key.ts@@ -19,6 +19,6 @@ const handleGet = async (req: NextApiRequest, res: NextApiResponse) => {if (process.env.OPENAI_API_KEY) {return res.status(200).json({ hasKey: true })} else {- return res.status(404).json({ hasKey: false })+ return res.status(200).json({ hasKey: false })}}