- Standard Mode: Balanced AI responses (Free tier)
- Creative Mode: More creative responses (Pro tier)
- Ultra Mode: Most advanced AI (Pro+ tier)
- Located in top header (right side)
- Dropdown with mode descriptions
- Locked modes show upgrade prompts
- Persists user selection to database
- Free, Pro, and Pro+ tiers
- Feature gating for AI modes
- Subscription context provider
- Upgrade prompts for locked features
- New
modefield in Settings collection - AI mode persistence functions
- Automatic fallback to Standard mode
- New "Preferences" tab includes AI mode
- Visual mode selector with descriptions
- Real-time mode switching
- Success/error feedback
- Appears in top header for authenticated users
- Shows current mode with sparkles icon
- Click to open dropdown with all modes
- Locked modes show lock icon and tier requirement
- Navigate to
/settings - Click "Preferences" tab
- See "AI Generation Mode" section
- Use dropdown to change modes
- View current mode description
- Free: Standard AI mode only
- Pro: Standard + Creative modes
- Pro+: All modes (Standard, Creative, Ultra)
The foundation is now ready for:
- Note content generation
- Smart suggestions
- Content enhancement
- Auto-tagging
- Summary generation
- Voice-to-text improvements
- Grammar checking
- Style recommendations
All AI features will automatically respect the user's selected mode and subscription tier.
/src/types/ai.ts- AI types and configurations/src/components/AIModeSelect.tsx- Mode selector component/src/components/AppHeader.tsx- Global header with AI selector/src/components/ui/SubscriptionContext.tsx- Subscription management/src/lib/appwrite.ts- AI mode database functions/src/app/(app)/settings/page.tsx- Settings integration