diff --git a/pr_agent/algo/utils.py b/pr_agent/algo/utils.py index c850c7fd..09a6a39b 100644 --- a/pr_agent/algo/utils.py +++ b/pr_agent/algo/utils.py @@ -51,7 +51,7 @@ def convert_to_markdown(output_data: dict, gfm_supported: bool=True) -> str: markdown_text += f"## PR Review\n\n" if gfm_supported: markdown_text += "
PR feedback | Feedback | """ if not output_data or not output_data.get('review', {}): return "" @@ -62,6 +62,8 @@ def convert_to_markdown(output_data: dict, gfm_supported: bool=True) -> str: key_nice = key.replace('_', ' ').capitalize() emoji = emojis.get(key_nice, "") if gfm_supported: + if 'Estimated effort to review' in key_nice: + key_nice = 'Estimated effort to review [1-5]' if 'possible issues' in key_nice.lower(): value = value.strip() issues = value.split('\n- ') |