Using Noir with GitHub Marketplace Models
Use AI models from the GitHub Marketplace with Noir for code analysis.
Setup
- Generate a Personal Access Token: Create a PAT following the GitHub documentation. Ensure it has permissions to access AI models.
- Choose a Model: Browse the GitHub Marketplace for available models.
Usage
Using the GitHub API:
noir -b ./spec/functional_test/fixtures/hahwul \
--ai-provider=github \
--ai-model=gpt-4o \
--ai-key=github_pat_...
Using the Azure Inference API (for models served through Azure):
noir -b ./spec/functional_test/fixtures/hahwul \
--ai-provider=azure \
--ai-model=gpt-4o \
--ai-key=github_pat_...