Welcome - Sweep installed successfully! π
You should be redirected here after installing Sweep. If you haven't installed Sweep, install here (opens in a new tab).
β οΈ 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 (opens in a new tab).
If you prefer video, check out our demo (2 min) (opens in a new tab)
Create an issue on your own repository
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.
To get Sweep to work off an existing branch, add to the end of the issue description:
Branch: feat/name-of-branch
Note: The initial startup time typically takes around 3-5 minutes depending on your codebase, since we will have to index your codebase.
Fix Sweep's PRs
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 (opens in a new tab).
- To have Sweep automatically improve it's PRs, use Github Actions. See GHA Tech Blog (opens in a new tab)
- To disable Sweep on a PR/issue, remove the Sweep label.
Sweep Prompting Tricks π
- 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 (opens in a new tab), or watch the following video.
For configuring Sweep for your repo, see Config (opens in a new tab), especially for setting up Sweep Rules.
Limitations of Sweep (for now) β οΈ
- ποΈ 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
(opens in a new tab))
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"
Pricing
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 (opens in a new tab) now at $120/month for 30 tickets.
For professionals who want even more tickets and priority support/feature requests, check out Sweep Pro (opens in a new tab) now at $480/month for unlimited tickets.
Bug Reports
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 Discourse (opens in a new tab), we will reset your ticket count, giving your GPT-4 tickets back. This is only for GPT4 PRs.