This commit is contained in:
mrT23
2023-09-21 21:29:41 +03:00
parent 04162564ca
commit be54fb5bf8
4 changed files with 18 additions and 2 deletions

View File

@ -378,4 +378,10 @@ class GitLabProvider(GitProvider):
commit_messages_str = ""
if max_tokens:
commit_messages_str = clip_tokens(commit_messages_str, max_tokens)
return commit_messages_str
return commit_messages_str
def get_pr_id(self):
try:
return str(self.pr.id)
except:
return ""