model-calls.mdx
July 24, 2026 ยท View on GitHub
VectorLint supports three review strategies through --model-call. Leave the default, auto, enabled for most reviews. Override it when the size or structure of a particular document calls for a different strategy.
Choose a strategy
| Value | Use it for |
|---|---|
auto | Most reviews. VectorLint selects a strategy for the current document. |
single | Normal, self-contained documents and focused rules. |
agent | Large documents or reviews that need to compare context across multiple sections. |
Use the default
vectorlint doc.md
This is equivalent to:
vectorlint doc.md --model-call auto
Override the default
Choose single for a normal, self-contained document:
vectorlint doc.md --model-call single
Choose agent for a large document or when a rule needs context from sections that are far apart:
vectorlint doc.md --model-call agent
Changing --model-call does not change which rules run, how findings are scored, or which output formats are available.
Combine with an output format
vectorlint doc.md --model-call agent --output json