Skip to content

feat(backend): support GOOGLE_API_KEY auth for Gemini models#1580

Open
Minoo7 wants to merge 1 commit into
neo4j-labs:mainfrom
Minoo7:feat/gemini-api-key-auth
Open

feat(backend): support GOOGLE_API_KEY auth for Gemini models#1580
Minoo7 wants to merge 1 commit into
neo4j-labs:mainfrom
Minoo7:feat/gemini-api-key-auth

Conversation

@Minoo7

@Minoo7 Minoo7 commented Jun 24, 2026

Copy link
Copy Markdown

Adds a GOOGLE_API_KEY path for Gemini model loading (via ChatGoogleGenerativeAI), falling back to the existing VertexAI ADC flow when the key is absent. Also sets sensible default model names for GEMINI_2_5_FLASH / GEMINI_2_5_PRO in docker-compose. Lets users run Gemini with a plain API key instead of requiring VertexAI service-account ADC.

…rtexAI ADC)

- llm.py: use ChatGoogleGenerativeAI with GOOGLE_API_KEY when present, else VertexAI ADC
- docker-compose.yml: default GEMINI_2_5_FLASH / GEMINI_2_5_PRO model names
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant