Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

356 B
Raw Blame
// Leaves time to finish the stream before the hosting platform's 300-second cutoff, set by
// `maxDuration` in pages/api/ai/sql/generate-v4.ts (Next.js) and vite.config.ts (TanStack Start).
export const ASSISTANT_TIMEOUT_MS = 270_000
export const ASSISTANT_TIMEOUT_MESSAGE =
  'The Assistant took too long to respond. Retry, or ask for a smaller change.'