formatting

This commit is contained in:
mrT23
2023-07-06 12:49:10 +03:00
parent 0ebd29d398
commit e53ae712f9
5 changed files with 23 additions and 7 deletions

View File

@ -64,6 +64,8 @@ class PRQuestions:
return response
def _prepare_pr_answer(self) -> str:
answer_str = f"Questions: {self.question_str}\n\n"
answer_str = f"Question: {self.question_str}\n\n"
answer_str += f"Answer: {self.prediction.strip()}\n\n"
if settings.config.verbosity_level >= 2:
logging.info(f"answer_str:\n{answer_str}")
return answer_str