The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Upgrades pro users and above (#37183)
Saxon Fletcher09c1c95d7e6f
diff --git a/apps/studio/pages/api/ai/sql/generate-v4.ts b/apps/studio/pages/api/ai/sql/generate-v4.tsindex 3792472027c..1ff811f2781 100644--- a/apps/studio/pages/api/ai/sql/generate-v4.ts+++ b/apps/studio/pages/api/ai/sql/generate-v4.ts@@ -108,8 +108,7 @@ async function handlePost(req: NextApiRequest, res: NextApiResponse) {}const aiOptInLevel = getAiOptInLevel(selectedOrg?.opt_in_tags)-- const isLimited = messages.length > 4+ const isLimited = selectedOrg?.plan.id === 'free'const { model, error: modelError } = await getModel(projectRef, isLimited) // use project ref as routing key