Skip to content

Commit

Permalink
Merge pull request Codium-ai#517 from Codium-ai/tr/main_tmp
Browse files Browse the repository at this point in the history
Improve PR description formatting and handling in pr_description.py
  • Loading branch information
mrT23 authored Dec 11, 2023
2 parents 6d62bd8 + e69b450 commit 97c8163
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pr_agent/tools/pr_description.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ def _prepare_pr_answer(self) -> Tuple[str, str]:
value = ', '.join(v for v in value)
pr_body += f"{value}\n"
if idx < len(self.data) - 1:
pr_body += "\n___\n"
pr_body += "\n\n___\n\n"

if get_settings().config.verbosity_level >= 2:
get_logger().info(f"title:\n{title}\n{pr_body}")
Expand All @@ -315,7 +315,6 @@ def process_pr_files_prediction(self, pr_body, value):
if not self.git_provider.is_supported("gfm_markdown"):
get_logger().info(f"Disabling semantic files types for {self.pr_id} since gfm_markdown is not supported")
return pr_body

try:
pr_body += "<table>"
header = f"Relevant files"
Expand Down

0 comments on commit 97c8163

Please sign in to comment.