General Configuration
Environment Variables
NEXT_PUBLIC_SUPABASE_URL
Description
The base url for your Supabase instance. This is a required environment variable.
Example
NEXT_PUBLIC_SUPABASE_URL=https://your_supabase_url.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY
Description
The anonymous key for your Supabase instance. This is a required environment variable.
Example
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key
SUPABASE_SERVICE_ROLE_KEY
Description
The service role key for your Supabase instance. This is a required environment variable.
Example
SUPABASE_SERVICE_ROLE_KEY=your_supabase_service_role_key
NEXT_PUBLIC_DEFAULT_MODEL
Description
By default a new conversation keeps the same model as the last conversation in the list. This environment variable allows you to override this behavior and set a default model for new conversations.
Example
NEXT_PUBLIC_DEFAULT_MODEL=gpt-4
NEXT_PUBLIC_DEBUG_MODE
Description
When set to true
this environment variable enables debug mode. This will log environment variables and other debug information to the console.
Example
NEXT_PUBLIC_DEBUG_MODE=true