Try Git AutoReview free on VS Code
Install →
Reference

Configuration Reference

All Git AutoReview settings. API keys, repositories, AI models, review behavior, team features, and caching.

Quick access: Open Command Palette (Cmd+Shift+P) → Git AutoReview: Open Settings

API Keys

gitAutoreview.apiKeys.anthropic
stringdefault: ""

Anthropic API key for Claude models. Get from console.anthropic.com

gitAutoreview.apiKeys.google
stringdefault: ""

Google AI API key for Gemini models. Get from makersuite.google.com

gitAutoreview.apiKeys.openai
stringdefault: ""

OpenAI API key for GPT models. Get from platform.openai.com

Repositories

gitAutoreview.repositories
arraydefault: []

List of repositories to monitor (GitHub or Bitbucket). Each repository object includes type and platform-specific identifiers (owner/repo for GitHub, workspace/repo for Bitbucket Cloud, baseUrl/projectKey/repo for Server).

gitAutoreview.bitbucket.username
stringdefault: ""

Bitbucket username for authentication (CloudIcon only)

gitAutoreview.bitbucket.appPassword
stringdefault: ""

Bitbucket App Password (CloudIcon) or Personal Access Token (ServerIcon)

AI Models

gitAutoreview.modelsConfig.claude.enabled
booleandefault: true

Enable Claude (Anthropic) for code review

gitAutoreview.modelsConfig.claude.model
stringdefault: "claude-opus-4-6"

Claude model to use. Options: claude-opus-4-6, claude-sonnet-4-5-20250929, claude-haiku-4-5-20251001

gitAutoreview.modelsConfig.gemini.enabled
booleandefault: false

Enable Gemini (Google) for code review

gitAutoreview.modelsConfig.gemini.model
stringdefault: "gemini-2.5-pro"

Gemini model to use. Options: gemini-2.5-pro, gemini-2.5-flash, gemini-2.0-flash

gitAutoreview.modelsConfig.openai.enabled
booleandefault: false

Enable GPT (OpenAI) for code review

gitAutoreview.modelsConfig.openai.model
stringdefault: "gpt-5"

OpenAI model to use. Options: gpt-5, gpt-5-mini, o3, o4-mini, gpt-4.1

Review Settings

gitAutoreview.reviewPreset
stringdefault: "fast"

Review mode: "fast" (quick scan), "thorough" (deep analysis), "custom"

gitAutoreview.maxFilesPerReview
numberdefault: 50

Maximum number of files to review in a single PR

gitAutoreview.excludePatterns
arraydefault: ["*.lock", "*.min.js"]

File patterns to exclude from review

gitAutoreview.commentFormat.includeSeverity
booleandefault: true

Include severity level in published comments

gitAutoreview.commentFormat.includeCodeSnippet
booleandefault: true

Include code snippet in published comments

gitAutoreview.commentFormat.template
stringdefault: ""

Custom template for published comments. Supports placeholders: {severity}, {category}, {description}, {suggestion}

Confidence Filtering

gitAutoreview.enableConfidenceFilter
booleandefault: true

Enable confidence-based filtering of review results. Issues below threshold are hidden

gitAutoreview.confidenceThreshold
numberdefault: 70

Minimum confidence percentage (0-100) for issues to appear in results. Higher values show fewer, more certain issues

Specialized Review Passes

gitAutoreview.specializedPasses
arraydefault: ["security", "bugs", "performance", "style"]

Enable specialized review passes. Each pass runs a separate review focused on one category

gitAutoreview.specializedPrompts
objectdefault: {}

Custom prompts for each specialized pass. Override default prompts with your own instructions per category

Team Collaboration

gitAutoreview.team.enabled
booleandefault: false

Enable team features: shared repositories, shared API keys, and team analytics

gitAutoreview.team.sharedRepositories
arraydefault: []

Repositories shared across team members. Team members inherit repository configuration

gitAutoreview.team.sharedApiKeys
booleandefault: false

Share API keys across team members. Keys are distributed securely via encrypted team settings

Review Caching

gitAutoreview.cache.enabled
booleandefault: true

Cache review results locally. Avoids re-reviewing unchanged PRs and enables the PR Preview panel

gitAutoreview.cache.ttl
numberdefault: 86400

Cache time-to-live in seconds (default: 24 hours). Cached reviews show a stale warning after TTL expires

Environment

gitAutoreview.environment
stringdefault: "production"

Environment mode: "production" (normal), "development" (verbose logging), "test" (dry run, no API calls)

Repository Configuration Examples

GitHub

{
  "type": "github",
  "owner": "your-org-or-username",
  "repo": "your-repo"
}

Bitbucket CloudIcon

{
  "type": "cloud",
  "workspace": "your-workspace",
  "repo": "your-repo-slug"
}

Bitbucket ServerIcon

{
  "type": "server",
  "baseUrl": "https://bitbucket.company.com",
  "projectKey": "PROJ",
  "repo": "your-repo"
}

Bitbucket Data Center

{
  "type": "server",
  "baseUrl": "https://bitbucket-dc.company.com",
  "projectKey": "PROJ",
  "repo": "your-repo"
}

🔐 Security Note

API keys are stored securely in VS CodeIcon's SecretStorage, not in plain text settings. They are encrypted at rest and never exposed in logs or telemetry.

For CI/CD environments, you can also use environment variables:

ANTHROPIC_API_KEY=sk-ant-...
GOOGLE_AI_API_KEY=AIza...
OPENAI_API_KEY=sk-...