mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-05 05:10:38 +08:00
add return response
This commit is contained in:
@ -202,6 +202,7 @@ class GithubProvider(GitProvider):
|
|||||||
if not hasattr(self.pr, 'comments_list'):
|
if not hasattr(self.pr, 'comments_list'):
|
||||||
self.pr.comments_list = []
|
self.pr.comments_list = []
|
||||||
self.pr.comments_list.append(response)
|
self.pr.comments_list.append(response)
|
||||||
|
return response
|
||||||
|
|
||||||
def publish_inline_comment(self, body: str, relevant_file: str, relevant_line_in_file: str):
|
def publish_inline_comment(self, body: str, relevant_file: str, relevant_line_in_file: str):
|
||||||
self.publish_inline_comments([self.create_inline_comment(body, relevant_file, relevant_line_in_file)])
|
self.publish_inline_comments([self.create_inline_comment(body, relevant_file, relevant_line_in_file)])
|
||||||
|
Reference in New Issue
Block a user