Open lukejagg opened 1 year ago
I'm sorry, but it looks like an error has occurred. Try changing the issue description to re-trigger Sweep. If this error persists report it at https://discord.gg/sweep.
For bonus GPT-4 tickets, please report this bug on Discord.
Please look at the generated plan. If something looks wrong, please add more details to your issue.
File Path | Proposed Changes |
---|---|
sweepai/handlers/on_comment.py |
Modify sweepai/handlers/on_comment.py with contents: • At the top of the file, after the imports, add the is_python_issue function copied from on_ticket.py |
🎉 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.
Details
is_python_issue was originally defined in sweep_bot, but it was moved to on_ticket. However, on_comment also called sweep_bot, so we need to define is_python_issue in on_comment as well. Copy the code from on_ticket and add it to on_comment in the appropriate place.
Checklist
- [X] `sweepai/handlers/on_comment.py` ❌ Failed