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>
This commit is contained in:
dbastrikin
2026-02-22 13:57:55 +02:00
parent 842bca9641
commit 1973f45b0a
6 changed files with 20 additions and 20 deletions

View File

@@ -22,7 +22,7 @@ type Config struct {
AllowedOrigins []string `envconfig:"ALLOWED_ORIGINS" default:"http://localhost:3000"`
// External APIs
GeminiAPIKey string `envconfig:"GEMINI_API_KEY" required:"true"`
OpenAIAPIKey string `envconfig:"OPENAI_API_KEY" required:"true"`
PexelsAPIKey string `envconfig:"PEXELS_API_KEY" required:"true"`
}