Problem Statement
When reviewing different types of changes, the optimal model may vary — a quick fix benefits from a fast, lightweight model, while a complex architectural diff may require a more capable one. Currently, the only way to change the model is to edit the config file (llm.model), which requires a manual change before and after each run. This makes it impractical to switch models on a per-run basis.
Proposed Solution
Add a --model flag to the ocr review command that overrides the model specified in the config for a single run:
ocr review --model claude-opus-4-5 --from main
ocr review -c abc123 --model claude-haiku-4-5
When --model is omitted, the behavior is identical to the current behavior (config value is used). The flag takes precedence over llm.model in the config file and does not persist
— it only applies to the current invocation.
Alternatives Considered
- Manually editing the config file before each run.
- Using environment variables to override the model.
Affected Area
CLI / Commands
Additional Context
No response
Problem Statement
When reviewing different types of changes, the optimal model may vary — a quick fix benefits from a fast, lightweight model, while a complex architectural diff may require a more capable one. Currently, the only way to change the model is to edit the config file (
llm.model), which requires a manual change before and after each run. This makes it impractical to switch models on a per-run basis.Proposed Solution
Add a
--modelflag to theocr reviewcommand that overrides the model specified in the config for a single run:When
--modelis omitted, the behavior is identical to the current behavior (config value is used). The flag takes precedence overllm.modelin the config file and does not persist— it only applies to the current invocation.
Alternatives Considered
Affected Area
CLI / Commands
Additional Context
No response