feat: add confirm parameter to report_github_issue function

This commit is contained in:
Paul Gauthier (aider) 2024-09-04 10:08:16 -07:00
parent c5ac621da1
commit 70994cfc5b
2 changed files with 26 additions and 21 deletions

View file

@ -1136,12 +1136,12 @@ class Commands:
self.io.tool_output(settings)
def cmd_report(self, args):
"Report an problem by opening a GitHub Issue"
"Report a problem by opening a GitHub Issue"
from aider.report import report_github_issue
announcements = "\n".join(self.coder.get_announcements())
issue_text = f"User report:\n\n{args}\n\nAnnouncements:\n{announcements}"
report_github_issue(issue_text)
report_github_issue(issue_text, confirm=True)
def expand_subdir(file_path):