mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-12-12 02:45:18 +00:00
AzureDevopsProvider
This commit is contained in:
parent
734a027702
commit
4b351cfe38
1 changed files with 5 additions and 2 deletions
|
|
@ -177,8 +177,11 @@ class PRCodeSuggestions:
|
||||||
final_update_message=True,
|
final_update_message=True,
|
||||||
max_previous_comments=4,
|
max_previous_comments=4,
|
||||||
progress_response=None):
|
progress_response=None):
|
||||||
if isinstance(self.git_provider,AzureDevopsProvider):
|
if isinstance(self.git_provider, AzureDevopsProvider): # get_latest_commit_url is not supported yet
|
||||||
self.git_provider.publish_comment(pr_comment)
|
if progress_response:
|
||||||
|
self.git_provider.edit_comment(progress_response, pr_comment)
|
||||||
|
else:
|
||||||
|
self.git_provider.publish_comment(pr_comment)
|
||||||
return
|
return
|
||||||
|
|
||||||
history_header = f"#### Previous suggestions\n"
|
history_header = f"#### Previous suggestions\n"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue