Files
food-ai/backend/.env.example
dbastrikin 1973f45b0a feat: switch AI provider from Groq to OpenAI
Replace Groq/Llama with OpenAI API:
- Text model: gpt-4o-mini
- Vision model: gpt-4o
- Rename GEMINI_API_KEY → OPENAI_API_KEY env var
- Rename callGroq → callOpenAI, update all related constants and comments

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-22 13:57:55 +02:00

19 lines
391 B
Plaintext

# Database
DATABASE_URL=postgres://food_ai:food_ai_local@localhost:5432/food_ai?sslmode=disable
# Firebase
FIREBASE_CREDENTIALS_FILE=./firebase-credentials.json
# JWT
JWT_SECRET=change-me-in-production
JWT_ACCESS_DURATION=15m
JWT_REFRESH_DURATION=720h
# Server
PORT=8080
ALLOWED_ORIGINS=http://localhost:3000
# External APIs
OPENAI_API_KEY=your-openai-key
PEXELS_API_KEY=your-pexels-key