mirror of
https://github.com/xtekky/gpt4free.git
synced 2024-11-26 09:57:24 +03:00
Fix create copilot comment
This commit is contained in:
parent
ec2de56bbd
commit
55695eda39
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user