move enable custom labels to custom labels function

This commit is contained in:
Hussam.lawen
2023-10-27 21:12:58 +03:00
parent a7cb59ca8b
commit f53ec1d0cc
5 changed files with 6 additions and 4 deletions

View File

@ -63,7 +63,8 @@ class PRReviewer:
'answer_str': answer_str,
"extra_instructions": get_settings().pr_reviewer.extra_instructions,
"commit_messages_str": self.git_provider.get_commit_messages(),
"custom_labels": ""
"custom_labels": "",
"enable_custom_labels": get_settings().enable_custom_labels,
}
self.token_handler = TokenHandler(