Merge pull request #431 from Codium-ai/hl/type_vs_labels

Refactoring PR Labels Handling and Display
This commit is contained in:
mrT23
2023-11-06 02:10:38 -08:00
committed by GitHub
6 changed files with 26 additions and 26 deletions

View File

@ -156,7 +156,7 @@ class PRReviewer:
variables["diff"] = self.patches_diff # update diff
environment = Environment(undefined=StrictUndefined)
set_custom_labels(variables)
# set_custom_labels(variables)
system_prompt = environment.from_string(get_settings().pr_review_prompt.system).render(variables)
user_prompt = environment.from_string(get_settings().pr_review_prompt.user).render(variables)