Skip to content

Latest commit

 

History

History
67 lines (49 loc) · 1.61 KB

gemini.md

File metadata and controls

67 lines (49 loc) · 1.61 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-2.0-flash"

Advanced Setup

aicommit2 config set GEMINI.key="your-api-key" \
  GEMINI.model="gemini-2.0-flash" \
  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-2.0-flash

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-2.0-flash

Supported:

  • gemini-2.0-flash
  • gemini-2.0-flash-lite
  • gemini-2.0-pro-exp-02-05
  • gemini-2.0-flash-thinking-exp-01-21
  • gemini-2.0-flash-exp
  • gemini-1.5-flash
  • gemini-1.5-flash-8b
  • gemini-1.5-pro
aicommit2 config set GEMINI.model="gemini-2.0-flash"

Unsupported Options

Gemini does not support the following options in General Settings.

  • timeout