diff --git a/docs/docs/pr_benchmark/index.md b/docs/docs/pr_benchmark/index.md index 50d8cd18..425734ab 100644 --- a/docs/docs/pr_benchmark/index.md +++ b/docs/docs/pr_benchmark/index.md @@ -443,5 +443,3 @@ The PR benchmark dataset includes pull requests containing code in the following Pull requests may also include non-code files such as `YAML`, `JSON`, `Markdown`, `Dockerfile` ,`Shell`, etc. The benchmarked models should also analyze these files, as they commonly appear in real-world pull requests. - - diff --git a/pr_agent/settings/pr_reviewer_prompts.toml b/pr_agent/settings/pr_reviewer_prompts.toml index a2f2d8a8..477f8553 100644 --- a/pr_agent/settings/pr_reviewer_prompts.toml +++ b/pr_agent/settings/pr_reviewer_prompts.toml @@ -217,7 +217,7 @@ Ticket Description: ##### {%- endif %} -{%- if ticket.requirements %} +{%- if ticket.requirements is defined and ticket.requirements %} Ticket Requirements: ##### {{ ticket.requirements }}