From c2c69f29505d2f55d86dc890c3e3e09fd9f4ecbe Mon Sep 17 00:00:00 2001 From: mrT23 Date: Sun, 28 Jul 2024 09:32:54 +0300 Subject: [PATCH] No code suggestions found for PR. --- pr_agent/tools/pr_code_suggestions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pr_agent/tools/pr_code_suggestions.py b/pr_agent/tools/pr_code_suggestions.py index 84e3cc8f..2cb47911 100644 --- a/pr_agent/tools/pr_code_suggestions.py +++ b/pr_agent/tools/pr_code_suggestions.py @@ -100,8 +100,8 @@ class PRCodeSuggestions: data = {"code_suggestions": []} if data is None or 'code_suggestions' not in data or not data['code_suggestions']: - get_logger().error('No code suggestions found for PR.') - pr_body = "## PR Code Suggestions ✨\n\nNo code suggestions found for PR." + get_logger().error('No code suggestions found for the PR.') + pr_body = "## PR Code Suggestions ✨\n\nNo code suggestions found for the PR." get_logger().debug(f"PR output", artifact=pr_body) if self.progress_response: self.git_provider.edit_comment(self.progress_response, body=pr_body)