From 1b0b90e51d5d875c63bb0b99a7dcb067758b6cce Mon Sep 17 00:00:00 2001 From: mrT23 Date: Wed, 9 Aug 2023 14:11:58 +0300 Subject: [PATCH] block scalar --- pr_agent/settings/pr_reviewer_prompts.toml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/pr_agent/settings/pr_reviewer_prompts.toml b/pr_agent/settings/pr_reviewer_prompts.toml index e649bf2d..8f7f03b3 100644 --- a/pr_agent/settings/pr_reviewer_prompts.toml +++ b/pr_agent/settings/pr_reviewer_prompts.toml @@ -78,18 +78,20 @@ PR Feedback: description: the relevant file full path suggestion: type: string - description: >- + description: | a concrete suggestion for meaningfully improving the new PR code. Also describe how, specifically, the suggestion can be applied to new PR code. Add tags with importance measure that matches each suggestion ('important' or 'medium'). Do not make suggestions for updating or adding docstrings, renaming PR title and description, or linter like. + YAML output should be in block scalar format ('|') relevant line: type: string - description: >- - a single code line taken from the relevant file, to which the - suggestion applies. The line should be a '+' line. Make sure to output - the line exactly as it appears in the relevant file + description: | + a single code line taken from the relevant file, to which the suggestion applies. + The line should be a '+' line. + Make sure to output the line exactly as it appears in the relevant file + YAML output should be in block scalar format ('|') {%- endif %} {%- if require_security %} Security concerns: