const path = require("path");
require("dotenv").config({ path: path.join(__dirname, "..", ".env") });

/**
 * Google Gemini model ID for @google/generative-ai (AI Studio API).
 * Older IDs like gemini-1.5-flash may return 404 on current API versions.
 * Override with GEMINI_MODEL in backend/.env if needed.
 * @see https://ai.google.dev/gemini-api/docs/models/gemini
 */
const GEMINI_MODEL = process.env.GEMINI_MODEL || "gemini-2.5-flash";

module.exports = { GEMINI_MODEL };
