Skip to content

Commit

Permalink
Refactor pr_code_suggestions logic and update prompts for clarity and…
Browse files Browse the repository at this point in the history
… consistency
  • Loading branch information
mrT23 committed May 13, 2024
1 parent b0aac4e commit f3eb74d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pr_agent/tools/pr_code_suggestions.py
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ async def _prepare_prediction_extended(self, model: str) -> dict:
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")
Expand Down

0 comments on commit f3eb74d

Please sign in to comment.