Skip to content

vspaswin/r1-automated-pr-example

This branch is up to date with mckaywrigley/r1-automated-pr-example:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

2a35c89 · Jan 27, 2025

History

2 Commits
Jan 27, 2025
Jan 27, 2025
Jan 27, 2025
Jan 27, 2025
Jan 27, 2025
Jan 27, 2025
Jan 27, 2025

Repository files navigation

R1 Automated PR Example

A basic example of how to use DeepSeek's r1 with Groq to automatically create a PR in seconds.

Setup

  1. Clone the repo
  2. In the root of the repo, run npm install
  3. Create a .env.local 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
  1. Run the script:
npm run start
  1. Watch the PR be created
  2. Check GitHub to see the PR

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%