GPT 5.x PR Reviewer
Version updated for https://github.com/micahstubbs/ChatGPT-CodeReview to version v2.0.5.
- This action is used across all versions by ? repositories.
Go to the GitHub Marketplace to find the latest changes.
Release notes
Changes
- Fix gpt-5.1-codex verbosity constraint - The
gpt-5.1-codexmodel only supportsverbosity: 'medium'. This release enforces that constraint and logs a warning if users set a different value viaVERBOSITYenv var. - Add
getValidVerbosity()helper - Model-specific verbosity validation with proper TypeScript typing - Add debug logging - Shows selected verbosity when
LOG_LEVEL=debugis set - Comprehensive test coverage - 9 new tests covering all verbosity scenarios
- Safer default - Changed default verbosity from
'low'to'medium'to prevent API errors across all GPT-5.1 models
Fixes
- Fixes #59
Usage
- uses: micahstubbs/ChatGPT-CodeReview@v2.0.5
with:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
MODEL: gpt-5.1-codex