A basic example of how to use DeepSeek's r1 with Groq to automatically create a PR in seconds.
- Clone the repo
- In the root of the repo, run
npm install
- Create a
.env
file with the following variables:
GROQ_API_KEY= # Your Groq API key
GITHUB_TOKEN= # GITHUB PAT TOKEN WITH REPO SCOPE
GITHUB_OWNER= # The owner of the repository
GITHUB_REPO= # The name of the repository
- Run the script:
npm run start
- Watch the PR be created
- Check GitHub to see the PR