diff --git a/package.json b/package.json index 31aafb9..c4211b5 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,6 @@ }, "dependencies": { "@google/generative-ai": "^0.21.0", - "dotenv": "^16.4.7", "react": "^18.3.1", "react-dom": "^18.3.1" }, diff --git a/src/config/gemini.js b/src/config/gemini.js index bb1c35f..e2369f3 100644 --- a/src/config/gemini.js +++ b/src/config/gemini.js @@ -3,11 +3,8 @@ import { HarmCategory, HarmBlockThreshold, } from "@google/generative-ai"; - import dotenv from "dotenv"; - - dotenv.config(); - const apiKey = import.meta.env.VITE_GOOGLE_API_KEY; + const apiKey = "Your API Key"; const genAI = new GoogleGenerativeAI(apiKey); const model = genAI.getGenerativeModel({