diff --git a/pr_agent/algo/utils.py b/pr_agent/algo/utils.py index 56148e9d..02f5019c 100644 --- a/pr_agent/algo/utils.py +++ b/pr_agent/algo/utils.py @@ -34,7 +34,8 @@ def convert_to_markdown(output_data: dict) -> str: elif isinstance(value, list): if key.lower() == 'code suggestions': markdown_text += "\n" # just looks nicer with additional line breaks - emoji = emojis.get(key, "‣") # Use a dash if no emoji is found for the key + # emoji = emojis.get(key, "‣") # Use a dash if no emoji is found for the key + emoji = "" markdown_text += f"- {emoji} **{key}:**\n\n" for item in value: if isinstance(item, dict) and key.lower() == 'code suggestions': @@ -42,7 +43,8 @@ def convert_to_markdown(output_data: dict) -> str: elif item: markdown_text += f" - {item}\n" elif value != 'n/a': - emoji = emojis.get(key, "‣") # Use a dash if no emoji is found for the key + # emoji = emojis.get(key, "‣") # Use a dash if no emoji is found for the key + emoji = "" markdown_text += f"- {emoji} **{key}:** {value}\n" return markdown_text diff --git a/pr_agent/settings/configuration.toml b/pr_agent/settings/configuration.toml index fc2fa2b8..ece60cd5 100644 --- a/pr_agent/settings/configuration.toml +++ b/pr_agent/settings/configuration.toml @@ -8,7 +8,7 @@ verbosity_level=0 # 0,1,2 require_focused_review=true require_tests_review=true require_security_review=true -num_code_suggestions=3 +num_code_suggestions=0 inline_code_comments = true ask_and_reflect=false diff --git a/pr_agent/settings/pr_reviewer_prompts.toml b/pr_agent/settings/pr_reviewer_prompts.toml index 51a873c4..ae484357 100644 --- a/pr_agent/settings/pr_reviewer_prompts.toml +++ b/pr_agent/settings/pr_reviewer_prompts.toml @@ -103,8 +103,8 @@ Example output: ... ] {%- endif %} -{%- if require_security %}, - "Security concerns": "No, because ..." +{%- if require_security %} + "Security concerns": "No, because ..." {%- endif %} } }