Skip to content

Document working configuration to use Aperture and Gemini provider with antigravity-cli #32

Description

@lorengordon

I was able to get Aperture to work with the Gemini provider and the antigravity-cli:

  1. Follow the Aperture docs to add Google Gemini as a model provider, https://tailscale.com/docs/aperture/how-to/use-google-gemini
  2. Create the antigravity-cli settings.json file to set the modelProvider as gemini:
mkdir -p ~/.gemini/antigravity-cli && echo '{"modelProvider": "gemini"}' > ~/.gemini/antigravity-cli/settings.json
  1. Export env to set a fake api key (Aperture will override)
export GEMINI_API_KEY="__aperture_key__"
  1. Export env to set the base url to your Aperture endpoint
export GOOGLE_GEMINI_BASE_URL="..."

Fwiw: I have had no luck at all finding any client that will work with Aperture using the Google Enterprise Agent Platform (vertex) provider with Gemini models (not Anthropic)...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions