n-devs/AI Code Review by n-devs

Automated PR code review powered by GitHub Models, Copilot, OpenAI, Anthropic, and more

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
gh_patGitHub Personal Access Token with Copilot accessyes
repoRepository in owner/repo formatyes
pr_numberPull request number to reviewyes
api_keyAPI key for the selected provider. For copilot: provide a personal GitHub PAT with Copilot subscription (GITHUB_TOKEN will not work — it lacks Copilot access)yes
titleTitle for the code review commentnoAI Code Review
modelAI model to use (e.g. gpt-4o, claude-3-5-sonnet-20241022, llama3)nogpt-4o
providerAI provider shorthand: copilot, github-models, openai, anthropic, openrouter, ollama, xai, zai, google, azure, aws, custom — sets api_url and api_type defaults automatically (azure/aws require api_url). Use github-models to authenticate with GITHUB_TOKEN without needing a personal PAT.nogithub-azure-models
api_urlFull API endpoint URL (e.g. https://api.anthropic.com/v1/messages). Overrides provider + api_type defaults when set.no
api_typeAPI type: 'chat' (Chat Completions), 'responses' (OpenAI Responses API), or 'messages' (Anthropic Messages API)nochat
max_tokensMaximum number of tokens in the AI responseno4096
max_diff_charsMaximum number of characters of diff to send to Copilotno10000
languageLanguage for the code review response (e.g. English, Thai, Japanese)noEnglish

no outputs