Enhance AI handler logging and add main PR language attribute to AI handler in various tools

This commit is contained in:
mrT23
2024-03-16 13:47:44 +02:00
parent 1593d8932b
commit 74345284bd
10 changed files with 32 additions and 4 deletions

View File

@ -46,6 +46,7 @@ class PRCodeSuggestions:
num_code_suggestions = get_settings().pr_code_suggestions.num_code_suggestions
self.ai_handler = ai_handler()
self.ai_handler.main_pr_language = self.main_language
self.patches_diff = None
self.prediction = None
self.cli_mode = cli_mode