Skip to content

Add model argument to review.sh and forward to auggie#87

Merged
vm-mishchenko merged 1 commit into
mainfrom
260514-spec-review-model-arg
May 15, 2026
Merged

Add model argument to review.sh and forward to auggie#87
vm-mishchenko merged 1 commit into
mainfrom
260514-spec-review-model-arg

Conversation

@vm-mishchenko
Copy link
Copy Markdown
Owner

Summary

Add a required positional <model> argument to scripts/review.sh and forward it to auggie via the --model flag. This makes the script model-agnostic—the caller now controls which model is used, rather than relying on Auggie's Anthropic default.

Updates the header comment to document the new usage and recommend passing an OpenAI model. Also fixes the stale scope reference in the contract path.

Test plan

  • Verify scripts/review.sh without arguments exits with usage message
  • Verify empty string argument exits with usage message
  • Verify model argument validation occurs before env-var validation
  • Verify --model flag is passed correctly to auggie invocation
  • Manual verification with a valid OpenAI model and all env vars set confirms end-to-end behavior unchanged

Add a required positional <model> argument and forward it to
auggie via --model flag. This makes the script model-agnostic—
the caller now controls which model is used, rather than relying
on Auggie's Anthropic default.

Update header comment to document the new usage and recommend
OpenAI models. Fix stale scope reference in contract path.
@vm-mishchenko vm-mishchenko marked this pull request as ready for review May 15, 2026 00:47
@vm-mishchenko vm-mishchenko merged commit eb5b3b5 into main May 15, 2026
1 check passed
@vm-mishchenko vm-mishchenko deleted the 260514-spec-review-model-arg branch May 15, 2026 01:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant