Skip to main content

Settings Reference

All settings are prefixed with ollama-code-review.*.

SettingDescriptionDefault
modelAI model to use (Ollama, Claude, Gemini, etc.)custom
autoSelectModelAutomatically switch to the best model based on taskfalse
cache.enabledReuse exact review results when prompt and model config matchtrue
cache.ttlMinutesMinutes before cached review results expire1440
cache.maxEntriesMaximum review results to keep in local cache50
claudeApiKeyAnthropic API key""
geminiApiKeyGoogle AI Studio API key""
mistralApiKeyMistral AI API key""
hfApiKeyHugging Face API token""
openaiCompatible.endpointBase URL for OpenAI-compatible serverhttp://localhost:1234/v1
endpointLocal Ollama instance generate API endpointhttp://localhost:11434/api/generate
temperatureCreativity of the AI response (0.0 to 1.0)0
frameworksTarget frameworks (e.g., React, Node.js)["React"]
diffFilter.ignorePathsGlob patterns for paths to ignorenode_modules, ...
preCommitGuard.severityThresholdSeverity level to block commitshigh
contextGathering.enabledInclude related files as contexttrue
notifications.slack.webhookUrlSlack webhook URL""
knowledgeBase.enabledEnable Team Knowledge Basetrue
rag.enabledEnable RAG context injectionfalse
streaming.enabledEnable token-by-token outputtrue
mcp.enabledEnable built-in MCP serverfalse
mcp.portPort for the built-in MCP server19840
mcp.autoKillPortConflictsAutomatically kill processes using the MCP portfalse
mcp.allowedOriginsAllowed origins for browser MCP clients["chrome-extension://*"]
mcp.authTokenSecurity token for browser MCP clients""
mcp.semble.pythonPathPython executable for Semble-backed MCP code search. Leave empty to use python3 on macOS/Linux or python on Windows.""
mcp.externalServersConfiguration for connecting to external MCP servers{}
autoReview.enabledEnable background review on file savefalse
autoReview.minSeverityOnly notify for findings at or above this levelhigh
coverage.includeGlobGlob pattern for files to include in the Coverage view**/*.{ts,js,tsx,jsx,py,java,cs,go,rb,php,rs,swift,kt,vue,svelte,c,cpp,h}
coverage.excludeGlobComma-separated glob patterns to exclude from Coveragenode_modules, dist, build, ...
coverage.staleAfterDaysMark files as stale after this many days since their last review14
coverage.maxFilesMaximum workspace files to scan for Coverage1000
contentstack.enabledEnable Contentstack schema validationfalse
contentstack.schemaSourceSource for schemas (local or api)local
copyFunction.maxDepthBFS depth for call-graph expansion in Copy Function with Imports3
copyFunction.maxFunctionsMax functions to collect in Copy Function with Imports15
copyFunction.maxCharsPerFunctionMax characters per function body in Copy Function with Imports8000
copyFunction.characterBudgetTotal character budget for all collected functions64000
copyWithImports.noLimitsRemove all Smart Context limits (use carefully on large files)false
restoreLastReviewAuto-restore the last review's findings and annotations on startuptrue
codeHealth.enabledEnable per-file health tracking and regression detectiontrue
codeHealth.regressionThresholdScore drop (points) that triggers a regression warning10
codeHealth.blockOnRegressionBlock commits when a file health regression is detectedfalse
codeHealth.hotspotCountNumber of worst-scoring files to display in the Code Health view15

Exhaustive List

For the full list of over 50 configuration options, please refer to the VS Code Settings UI by searching for @ext:VinhNguyen-Vincent.ollama-code-review.