GEMINI_API_KEY terisi dan flow memilih provider Gemini. Tanpa key, fitur yang butuh Gemini tidak aktif.

Docs: ai.google.dev/gemini-api
Env di project
Setup
Buka Google AI Studio
aistudio.google.com → login Google account
Buat API key
Menu → API Keys → Create API key
Pilih project Google Cloud (atau buat baru). Salin key
Pilih project Google Cloud (atau buat baru). Salin key
AIza...(Opsional) Import GCP project
Dashboard → Projects → Import projects jika pakai project Cloud existing
Auth key vs standard key
Google sedang migrasi ke auth keys (lebih aman). Key baru di AI Studio otomatis auth key. Docs: Migrate to auth key.Troubleshooting
| Masalah | Solusi |
|---|---|
| API key invalid | Regenerate di AI Studio |
| Quota exceeded | Cek billing GCP / free tier limits |
| Fitur tidak pakai Gemini | Normal — AI_PROVIDER=deepseek adalah default |