Sweep works best with real repositories and real issues; empty or test repositories will break Sweep. If you don't have a good repo at hand, check out our tutorial on running Sweep on Docusaurus.
If you prefer video, check out our demo (2 min)
The issue title should start with Sweep:
For issues and PRs, call Sweep using the Sweep label or by prefixing your text with Sweep:
For existing GitHub issues, add the Sweep
label to the issue.
Note: The initial startup time typically takes around 3-5 minutes depending on your codebase.
Sweep will mess up sometimes. Comment on it's PR. (ex: "use PyTorch instead of Tensorflow".)
- You can also comment in the issue and code. See Commenting.
- To have Sweep automatically improve it's PRs, use Github Actions. GHA Tech Blog
- To disable Sweep on a PR/issue, remove the Sweep label.
- Mention filenames or function names.
- Describe the changes or fixes you want, optionally mentioning implementation details.
- Provide any additional context that might be helpful, e.g. see "src/App.test.tsx" for an example of a good unit test.
- For more guidance, visit Advanced, or watch the following video.
For configuring Sweep for your repo, see Config, especially for setting up Sweep Rules and Sweep Sweep.
-
🗃️ Gigantic repos: >5000 files. We have default extensions and directories to exclude but sometimes this doesn't catch them all. You may need to block some directories (see
blocked_dirs
)- If Sweep is stuck at 0% for over 30 min and your repo has a few thousand files, let us know.
-
🏗️ Large-scale refactors: >5 files or >300 lines of code changes (we're working on this!)
- We can't do this - "Refactor entire codebase from Tensorflow to PyTorch"
-
🖼️ Editing images and other non-text assets
- We can't do this - "Use the logo to create favicons for our landing page"
-
⤵️ Accessing external APIs, including fetching API tokens- We can't do this - "Set up sign-in using Ethereum"
We offer unlimited GPT3.5 tickets to every user. Every user also starts with 5 GPT4 issues a month, and you'll be able to use 2 GPT-4 issues a day.
For hobbyists who want more tickets, check out Sweep Plus now at $120/month for 30 tickets.
For professionals who want even more tickets and priority support/feature requests, check out Sweep Pro now at $480/month for unlimited tickets.
Note - you need to have Sweep installed and Issues enabled in Repo
If Sweep fails to solve your issue that is within the scope of Sweep (see Limitations) and you submit a high-quality bug report at our Discord, we will reset your ticket count, giving your GPT-4 tickets back. This is only for GPT4 PRs.