mirror of
https://github.com/supabase/supabase.git
synced 2026-10-16 14:49:10 +03:00
* Bump the sql-formatter dependency. * Add a function formatQuery which is a wrapper around sql-formatter. * Replace all formatSQL features to use the new function formatSql. * Remove unneeded RQ for formatting. * Small fix.
ai-commands
Main purpose
This package contains all features involving AI and LLMs (eg. via OpenAI API). Each feature is implemented as a function which can be easily tested for regressions.
The streaming functions only work on Edge runtime so they can only be imported via a special edge subpath like so:
import { chatRlsPolicy } from 'ai-commands/edge'