Skip to content

Commit

Permalink
Merge pull request #1210 from Codium-ai/tr/configurations
Browse files Browse the repository at this point in the history
bug fix: remove unused get_pr_description method from Azure DevOps
  • Loading branch information
mrT23 authored Sep 9, 2024
2 parents 49521aa + 1a9638c commit 6ed5537
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions pr_agent/git_providers/azuredevops_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -516,12 +516,6 @@ def get_pr_branch(self):
source_branch = pr_info.source_ref_name.split("/")[-1]
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):
return 0

Expand Down

0 comments on commit 6ed5537

Please sign in to comment.