Skip to content

Latest commit

 

History

History
70 lines (46 loc) · 1.83 KB

File metadata and controls

70 lines (46 loc) · 1.83 KB

📌 Important Note

Before configuring, please review:

Example Configuration

Basic Setup

aicommit2 config set GEMINI.key="your-api-key"
aicommit2 config set GEMINI.model="gemini-3-flash-preview"

Advanced Setup

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

Settings

Setting Description Default
key API key -
model Model to use gemini-3-flash-preview

Configuration

GEMINI.key

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"

GEMINI.model

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"

Unsupported Options

Gemini does not support the following options in General Settings.

  • timeout