Use Vite env key for Gemini

This commit is contained in:
Anthony
2025-11-27 21:19:46 +08:00
parent 7f75b44af1
commit 1cdcc08eae
5 changed files with 12 additions and 17 deletions

View File

@@ -15,6 +15,6 @@ View your app in AI Studio: https://ai.studio/apps/drive/1a8wkyYOUvPDWvUXbrtN2dz
1. Install dependencies:
`npm install`
2. Set the `GEMINI_API_KEY` in [.env.local](.env.local) to your Gemini API key
2. Set the `VITE_API_KEY` in [.env.local](.env.local) to your Gemini API key (e.g., `VITE_API_KEY=your_key_here`)
3. Run the app:
`npm run dev`