nlvedwin/AI Code Reviewer
Automatically review Pull Requests using AI models via OpenRouter API
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| openrouter_api_key | Your OpenRouter API key | yes | — |
| model | The AI model to use (e.g., anthropic/claude-3.5-sonnet, openai/gpt-4-turbo) | no | anthropic/claude-3.5-sonnet |
| github_token | GitHub token for posting comments | yes | — |
| max_diff_size | Maximum diff size in characters (default: 100000) | no | 100000 |
| temperature | Model temperature for response generation (0-1) | no | 0.3 |
| post_comment | Whether to post the review as a PR comment | no | true |
| custom_prompt | Custom instructions to append to the review prompt | no | "" |
| system_prompt | Override the entire system prompt (advanced usage) | no | "" |
| review_focus | Comma-separated list of focus areas (e.g., security,performance,bugs) | no | "" |
| inline_comments | Whether to post inline comments on specific lines of code (requires github_token) | no | true |
Outputs
| name | description |
|---|---|
| review | The generated code review content |
| model_used | The AI model that was used for the review |