summaryrefslogtreecommitdiffstats
path: root/etc/tool
diff options
context:
space:
mode:
authorH Lohaus <hlohaus@users.noreply.github.com>2024-01-23 02:17:02 +0100
committerGitHub <noreply@github.com>2024-01-23 02:17:02 +0100
commit2a35052687e9026d90607c7db915e7c5b4e4018e (patch)
treec28dfef872f8dda791553fe1ae46418990d1c6b1 /etc/tool
parentMerge pull request #1501 from eltociear/patch-5 (diff)
parentFix create copilot comment (diff)
downloadgpt4free-2a35052687e9026d90607c7db915e7c5b4e4018e.tar
gpt4free-2a35052687e9026d90607c7db915e7c5b4e4018e.tar.gz
gpt4free-2a35052687e9026d90607c7db915e7c5b4e4018e.tar.bz2
gpt4free-2a35052687e9026d90607c7db915e7c5b4e4018e.tar.lz
gpt4free-2a35052687e9026d90607c7db915e7c5b4e4018e.tar.xz
gpt4free-2a35052687e9026d90607c7db915e7c5b4e4018e.tar.zst
gpt4free-2a35052687e9026d90607c7db915e7c5b4e4018e.zip
Diffstat (limited to 'etc/tool')
-rw-r--r--etc/tool/copilot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/tool/copilot.py b/etc/tool/copilot.py
index def3599e..003daf58 100644
--- a/etc/tool/copilot.py
+++ b/etc/tool/copilot.py
@@ -239,7 +239,7 @@ def main():
if comments:
pull.create_review(body=review, comments=comments)
else:
- pull.create_comment(body=review)
+ pull.create_issue_comment(body=review)
except Exception as e:
print(f"Error posting review: {e}")
exit(1)