From 7e2449b228231a08d61603ab8599728b9167f632 Mon Sep 17 00:00:00 2001 From: zmeir Date: Wed, 19 Jul 2023 13:37:35 +0300 Subject: [PATCH] Changed score type to int --- pr_agent/settings/pr_reviewer_prompts.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pr_agent/settings/pr_reviewer_prompts.toml b/pr_agent/settings/pr_reviewer_prompts.toml index 9a55dcf4..100e6234 100644 --- a/pr_agent/settings/pr_reviewer_prompts.toml +++ b/pr_agent/settings/pr_reviewer_prompts.toml @@ -22,7 +22,7 @@ You must use the following JSON schema to format your answer: }, {%- if require_score %} "Score": { - "type": "float", + "type": "int", "description": "Rate this PR on a scale of 0-100 (inclusive), where 0 means the worst possible PR code, and 100 means PR code of the highest quality, without any bugs or performance issues, that is ready to be merged immediately and run in production at scale." }, {%- endif %} @@ -90,7 +90,7 @@ Example output: "Main theme": "xxx", "Type of PR": "Bug fix", {%- if require_score %} - "Score": 85.2, + "Score": 89, {%- endif %} {%- if require_tests %} "Relevant tests added": "No",