Refine field descriptions in pr_code_suggestions_prompts.toml and comment out default scoring error log in pr_code_suggestions.py

This commit is contained in:
mrT23
2024-05-16 21:49:06 +03:00
parent 570f7d6dcf
commit cc08394e51
2 changed files with 3 additions and 3 deletions

View File

@ -196,7 +196,7 @@ class PRCodeSuggestions:
suggestion["score"] = 7
suggestion["score_why"] = ""
else:
get_logger().error(f"Could not self-reflect on suggestions. using default score 7")
# get_logger().error(f"Could not self-reflect on suggestions. using default score 7")
for i, suggestion in enumerate(data["code_suggestions"]):
suggestion["score"] = 7
suggestion["score_why"] = ""