AI Config
Configure AI-powered features with OpenAI or Anthropic.
Overview
The config/ai.config.ts file configures the AI provider used for description generation and category suggestions.
AI features are disabled by default. Enable them by setting ai: true in config/features.config.ts.
Configuration
| Option | Type | Description |
|---|---|---|
provider | "openai" | "anthropic" | AI provider |
model | string | Model identifier |
temperature | number | Response creativity (0-1) |
maxTokens | number | Maximum response length |
Environment variables
| Variable | Description |
|---|---|
AI_PROVIDER | openai or anthropic |
AI_MODEL | Model name (e.g., gpt-4o, claude-sonnet-4-20250514) |
AI_API_KEY | Provider API key |
Features
When enabled, AI powers:
- Description generation — Auto-generate project descriptions from URL/name
- Category suggestions — Suggest categories based on project content