mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-12-13 03:15:17 +00:00
Refactor pr_code_suggestions logic and update prompts for clarity and consistency
This commit is contained in:
parent
b0aac4ec5d
commit
f3eb74d718
1 changed files with 1 additions and 1 deletions
|
|
@ -364,7 +364,7 @@ class PRCodeSuggestions:
|
|||
else:
|
||||
data["code_suggestions"].append(prediction)
|
||||
except Exception as e:
|
||||
get_logger().error(f"Error getting PR diff, error: {e}")
|
||||
get_logger().error(f"Error getting PR diff for suggestion {i} in call {j}, error: {e}")
|
||||
self.data = data
|
||||
else:
|
||||
get_logger().error(f"Error getting PR diff")
|
||||
|
|
|
|||
Loading…
Reference in a new issue