The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix(docs): document openai_api_key better (#31210)
Andrew Valleteaufd4e7961e090
diff --git a/apps/docs/spec/cli_v1_config.yaml b/apps/docs/spec/cli_v1_config.yamlindex d64190472df..fca79cb6203 100644--- a/apps/docs/spec/cli_v1_config.yaml+++ b/apps/docs/spec/cli_v1_config.yaml@@ -503,6 +503,18 @@ parameters:External URL of the API server that frontend connects to.links: []+ - id: 'studio.openai_api_key'+ title: 'studio.openai_api_key'+ tags: ['dashboard']+ required: false+ default: 'env(OPENAI_API_KEY)'+ description: |+ OpenAI API key used for AI features in the Studio dashboard.+ DO NOT commit your OpenAI API key to git. Use environment variable substitution instead.+ links:+ - name: 'OpenAI API Keys'+ link: 'https://platform.openai.com/api-keys'+- id: 'inbucket.enabled'title: 'inbucket.enabled'tags: ['local']diff --git a/apps/studio/components/ui/AIAssistantPanel/AIAssistant.tsx b/apps/studio/components/ui/AIAssistantPanel/AIAssistant.tsxindex 2bb77ae57da..d1835325c94 100644--- a/apps/studio/components/ui/AIAssistantPanel/AIAssistant.tsx+++ b/apps/studio/components/ui/AIAssistantPanel/AIAssistant.tsx@@ -511,7 +511,9 @@ export const AIAssistant = ({title="OpenAI API key not set"description={<Markdown- content={'Add your `OPENAI_API_KEY` to `./docker/.env` to use the AI Assistant.'}+ content={+ 'Add your `OPENAI_API_KEY` to your environment variables to use the AI Assistant.'+ }/>}/>