-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sweep: once the chatmodel generates the output. ask the ChatModel to create a patch file of changes #2
Comments
Here's the PR! #4.⚡ Sweep Free Trial: I'm creating this ticket using GPT-4. You have 1 GPT-4 tickets left for the month and -1 for the day. For more GPT-4 tickets, visit our payment portal.
Actions (click)
Step 1: 🔎 SearchingI found the following snippets in your repository. I will now analyze these snippets and come up with a plan. Some code snippets I looked at (click to expand). If some file is missing from here, you can mention the path in the ticket description.Lines 75 to 319 in 412ff66
fixThisChris/utils/github_utils.py Lines 155 to 392 in 412ff66
fixThisChris/utils/github_utils.py Lines 108 to 189 in 412ff66
Lines 1 to 85 in 412ff66
Step 2: ⌨️ Coding
• Modify the `run_query` function to return a tuple containing the AI response and the patch file. The patch file should be a string containing the changes suggested by the AI.
• Modify the `solve_problem` function to handle the patch file returned by the `run_query` function. Step 3: 🔁 Code ReviewI have finished reviewing the code for completeness. I did not find errors for . 🎉 Latest improvements to Sweep:
💡 To recreate the pull request edit the issue title or description. To tweak the pull request, leave a comment on the pull request. |
Checklist
utils/github_utils.py:run_query
✅ Commit461e279
main.py:solve_problem
✅ Commita25a38c
The text was updated successfully, but these errors were encountered: