| Parameter | Value | Notes |
|---|---|---|
| API Key | sk-xxxxxxxxxxxxxxxx | Raw plaintext key from the DataEyesAI console — do not add a Bearer prefix. |
| Base URL | https://platform.dataeyes.ai | Do NOT include /v1. Gemini CLI automatically appends its own official path to the end. |
| Model Name | A Gemini model name supported by DataEyesAI | Recommended: native model names such as gemini-2.5-flash-thinking. |
GEMINI_API_KEY, GOOGLE_GEMINI_BASE_URL, etc.).$env:GEMINI_API_KEY="sk-your-dataeyes-key"
$env:GOOGLE_GEMINI_BASE_URL="https://platform.dataeyes.ai"
$env:GEMINI_MODEL="gemini-2.5-flash-thinking"set GEMINI_API_KEY=sk-your-dataeyes-key
set GOOGLE_GEMINI_BASE_URL=https://platform.dataeyes.ai
set GEMINI_MODEL=gemini-2.5-flash-thinkingPro tip: The environment variables above are only valid for the current terminal session by default. For permanent effect, add them to your system's "Advanced System Settings → Environment Variables", or write them into your Mac/Linux ~/.bashrc/~/.zshrcconfiguration file.
Do you want to connect VS Code to Gemini CLI?, it is strongly recommended to press 1 (Yes). This allows the AI to directly read code from your editor.> prompt.Hello, please introduce yourself. after the > prompt. If you receive a response quickly, the integration is complete!Invalid URL (POST /v1/v1beta/models/...:streamGenerateContent)GOOGLE_GEMINI_BASE_URL was set to https://platform.dataeyes.ai/v1./v1 from the URL. It must be the clean root domain https://platform.dataeyes.ai. Restart the terminal and test again.[API Error: Content generator not initialized] errors appears on launch, and it forces me to choose an authentication method?OPENAI_API_KEY — it must be GEMINI_API_KEY.gemini in the same window where you set the variables.$env:GEMINI_MODEL (or GEMINI_MODEL) is correct. For best results, test with the exact full name of a real Gemini-series model available on the DataEyesAI platform.