feat(providers): Support Google's Gemini via ADC and Workload Identity - #496
Open
bytemare wants to merge 1 commit into
Open
feat(providers): Support Google's Gemini via ADC and Workload Identity#496bytemare wants to merge 1 commit into
bytemare wants to merge 1 commit into
Conversation
Add support for `SKILLSPECTOR_PROVIDER=gemini` using Google Cloud Application Default Credentials (ADC) and the OpenAI-compatible endpoint. - Authenticate via ADC or GKE Workload Identity with `GOOGLE_CLOUD_PROJECT` - Routes global, us, eu, and regional endpoints - Apply `google/` model prefix while keeping bare registry keys - Includes unit and live provider test targets - Fails without OpenAI fallback Signed-off-by: bytemare <3641580+bytemare@users.noreply.github.com>
bytemare
force-pushed
the
providers/add-gemini
branch
from
September 8, 2026 00:29
4e5c9c3 to
2f4dd79
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
SKILLSPECTOR_PROVIDER=geminito support Gemini models on Google Cloud via ADC and GKE Workload Identity, resolving #494.This supersedes stale PR #12 with Google's current v1 OpenAI-compatible endpoint (
aiplatform.googleapis.com/v1/.../endpoints/openapi), updated model metadata (gemini-3.x), and full test coverage.google-authwith ADC / Workload Identity. RequiresGOOGLE_CLOUD_PROJECTand fails if unset (no silent OpenAI fallback)google/prefix strictly with HTTP. The model registry keys, overrides, and CLI parameters stay as isglobal(default),us,eu, and regional endpoints (e.g.us-central1), with docs on data residencyx-goog-user-projectonly when explicitly configured on ADC credentials, preserving standard billing attribution without imposingserviceusage.services.userequirements on Workload Identity service accountsCloses #494