From 7b9e8bff3b0825c4f893cfc0d671b2a045f73c69 Mon Sep 17 00:00:00 2001 From: diana-jung <104146180+diana-jung@users.noreply.github.com> Date: Wed, 26 Nov 2025 18:07:25 +0900 Subject: [PATCH] chore: Recover the original inline code logic --- pr_agent/tools/pr_code_suggestions.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pr_agent/tools/pr_code_suggestions.py b/pr_agent/tools/pr_code_suggestions.py index cf6c18c9..e0ccc033 100644 --- a/pr_agent/tools/pr_code_suggestions.py +++ b/pr_agent/tools/pr_code_suggestions.py @@ -563,8 +563,6 @@ class PRCodeSuggestions: code_suggestions = [] if not data['code_suggestions']: - - if not filtered_suggestions: get_logger().info('No suggestions found to improve this PR.') if self.progress_response: return self.git_provider.edit_comment(self.progress_response, @@ -572,7 +570,7 @@ class PRCodeSuggestions: else: return self.git_provider.publish_comment('No suggestions found to improve this PR.') - for d in filtered_suggestions: + for d in data['code_suggestions']: try: if get_settings().config.verbosity_level >= 2: get_logger().info(f"suggestion: {d}")