mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-12-12 02:45:18 +00:00
bug fix: remove unused get_pr_description method from Azure DevOps provider
This commit is contained in:
parent
c8e8ed89d2
commit
1a9638cf87
1 changed files with 0 additions and 6 deletions
|
|
@ -516,12 +516,6 @@ class AzureDevopsProvider(GitProvider):
|
||||||
source_branch = pr_info.source_ref_name.split("/")[-1]
|
source_branch = pr_info.source_ref_name.split("/")[-1]
|
||||||
return source_branch
|
return source_branch
|
||||||
|
|
||||||
def get_pr_description(self, full: bool = True, split_changes_walkthrough=False) -> str:
|
|
||||||
max_tokens = get_settings().get("CONFIG.MAX_DESCRIPTION_TOKENS", None)
|
|
||||||
if max_tokens:
|
|
||||||
return clip_tokens(self.pr.description, max_tokens)
|
|
||||||
return self.pr.description
|
|
||||||
|
|
||||||
def get_user_id(self):
|
def get_user_id(self):
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue