mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-12-11 18:35: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,
|
||||
max_previous_comments=4,
|
||||
progress_response=None):
|
||||
if isinstance(self.git_provider,AzureDevopsProvider):
|
||||
self.git_provider.publish_comment(pr_comment)
|
||||
if isinstance(self.git_provider, AzureDevopsProvider): # get_latest_commit_url is not supported yet
|
||||
if progress_response:
|
||||
self.git_provider.edit_comment(progress_response, pr_comment)
|
||||
else:
|
||||
self.git_provider.publish_comment(pr_comment)
|
||||
return
|
||||
|
||||
history_header = f"#### Previous suggestions\n"
|
||||
|
|
|
|||
Loading…
Reference in a new issue