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

@@ -135,7 +135,7 @@ func (h *Handler) GenerateMenu(w http.ResponseWriter, r *http.Request) {
menuReq.AvailableProducts = products
}
// Generate 7-day plan via Groq.
// Generate 7-day plan via OpenAI.
days, err := h.gemini.GenerateMenu(r.Context(), menuReq)
if err != nil {
slog.Error("generate menu", "user_id", userID, "err", err)