Before configuring, please review:
- Configuration Guide - How to configure providers
- General Settings - Common settings applicable to all providers
aicommit2 config set GEMINI.key="your-api-key"
aicommit2 config set GEMINI.model="gemini-3-flash-preview"aicommit2 config set GEMINI.key="your-api-key" \
GEMINI.model="gemini-3-flash-preview" \
GEMINI.temperature=0.7 \
GEMINI.maxTokens=4000 \
GEMINI.locale="en" \
GEMINI.generate=3 \
GEMINI.topP=0.9| Setting | Description | Default |
|---|---|---|
key |
API key | - |
model |
Model to use | gemini-3-flash-preview |
The Gemini API key. If you don't have one, create a key in Google AI Studio.
aicommit2 config set GEMINI.key="your api key"Default: gemini-3-flash-preview
You can use any Gemini model name. The system no longer validates specific model names, allowing you to use new models as soon as they become available.
Popular models include:
gemini-3-flash-preview(default),gemini-3.1-pro-preview(latest generation)gemini-2.0-flash,gemini-2.0-flash-lite(previous generation)gemini-2.5-pro,gemini-2.5-flash(legacy)
For the most up-to-date list of available models, please check Google AI Studio.
aicommit2 config set GEMINI.model="gemini-3-flash-preview"Gemini does not support the following options in General Settings.
- timeout