Dev Tools: AI

Quick links for AI pages and the chat API endpoint.

ChatSettings

POST /api/ai/chat

AI Settings

Configure AI providers and test connections. Providers are enabled automatically when API keys are set in environment variables.

Provider Status
Overview of configured AI providers
Providers
Test connections and select default models for each provider
Configuration
How to enable AI providers

AI providers are enabled automatically when their API keys are set in your environment variables. Copy .env.example to .env.local and add your API keys.

# Example: Enable OpenAI
OPENAI_API_KEY=sk-your-api-key-here

# Optional: Customize available models
OPENAI_MODELS=gpt-4o,gpt-4o-mini,gpt-4-turbo

After updating environment variables, restart the development server for changes to take effect.