The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
chore(sql-editor): reword debug ai error messages
Greg Richardson25ee0daf57a7
diff --git a/studio/pages/api/ai/sql/debug.ts b/studio/pages/api/ai/sql/debug.tsindex 53a86fc8973..603743c7146 100644--- a/studio/pages/api/ai/sql/debug.ts+++ b/studio/pages/api/ai/sql/debug.ts@@ -127,11 +127,11 @@ export default async function handler(req: NextRequest) {const debugSqlResult: DebugSqlResult = JSON.parse(sqlResponseString)if (!debugSqlResult.sql) {- console.error(`AI SQL debugging failed: Unable to debug SQL for the given prompt`)+ console.error(`AI SQL debugging failed: Unable to debug SQL for the given error message`)return new Response(JSON.stringify({- error: 'Unable to debug SQL. Try adding more details to your prompt.',+ error: 'Unable to debug SQL',}),{status: 400,