AutoPR autonomously writes pull requests in response to issues with ChatGPT.
Built with Guardrails and Langchain.
Triggered by adding a label containing AutoPR
to an issue, AutoPR will:
- Plan a fix
- Write the code
- Push a branch
- Open a pull request
- Automatically write pull requests based on labeled issues
- Autonomously generate code through iterative and adaptive planning
- Vector search through repository contents
- Implement advanced codegen techniques like Reflexion and RepoCoder
- Respond to PR comments
- Fix specific code hunks by highlighted line range in code review
- ChatGPT plugin that writes an issue during the course of a conversation
- User-configurable tasks like "add tests", "add docs", "add type hints"
- User-configurable semantic CI checks like "if file x changes, ensure file y reflects the change"
- Autonomous PR reviewer who pushes to your branch
Well-written issue often lead to better results.
It can write code that fixes a bug in an existing repository.
- Example 1: Replace
GPT2FastTokenizer
withtiktoken
Or it can write code from scratch in an empty repository.
- Example 2: Write three programming interview challenges
This Github Action is in development, and in alpha release.
It still:
- Sometimes duplicates lines
- Sometimes calls functions that don't exist
- Only works on Github (see #46)
Please see USAGE.md for more information.
Please see CONTRIBUTING.md for more information.