Configuration Reference
Complete reference for all Git AutoReview settings. Configure API keys, repositories, AI models, and review behavior.
Quick access: Open Command Palette (Cmd+Shift+P) → Git AutoReview: Open Settings
API Keys
gitAutoreview.apiKeys.anthropicAnthropic API key for Claude models. Get from console.anthropic.com
gitAutoreview.apiKeys.googleGoogle AI API key for Gemini models. Get from makersuite.google.com
gitAutoreview.apiKeys.openaiOpenAI API key for GPT models. Get from platform.openai.com
Repositories
gitAutoreview.repositoriesList of Bitbucket repositories to monitor. Each repository object includes type, workspace/projectKey, and repo slug.
gitAutoreview.bitbucket.usernameBitbucket username for authentication (Cloud only)
gitAutoreview.bitbucket.appPasswordBitbucket App Password (Cloud) or Personal Access Token (Server)
AI Models
gitAutoreview.modelsConfig.claude.enabledEnable Claude (Anthropic) for code review
gitAutoreview.modelsConfig.claude.modelClaude model to use. Options: claude-sonnet-4-20250514, claude-3-5-sonnet-20241022
gitAutoreview.modelsConfig.gemini.enabledEnable Gemini (Google) for code review
gitAutoreview.modelsConfig.gemini.modelGemini model to use. Options: gemini-2.0-flash, gemini-1.5-pro
gitAutoreview.modelsConfig.openai.enabledEnable GPT (OpenAI) for code review
gitAutoreview.modelsConfig.openai.modelOpenAI model to use. Options: gpt-4o, gpt-4-turbo
Review Settings
gitAutoreview.reviewPresetReview mode: "fast" (quick scan), "thorough" (deep analysis), "custom"
gitAutoreview.maxFilesPerReviewMaximum number of files to review in a single PR
gitAutoreview.excludePatternsFile patterns to exclude from review
gitAutoreview.commentFormat.includeSeverityInclude severity level in published comments
gitAutoreview.commentFormat.includeCodeSnippetInclude code snippet in published comments
Repository Configuration Examples
Bitbucket Cloud
{
"type": "cloud",
"workspace": "your-workspace",
"repo": "your-repo-slug"
}Bitbucket Server
{
"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 Code'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-...