fix prompt

This commit is contained in:
mrT23
2023-11-06 09:32:46 +02:00
parent c917e48098
commit 06d030637c
2 changed files with 5 additions and 4 deletions

View File

@ -162,7 +162,7 @@ class PRDescription:
def _prepare_data(self):
# Load the AI prediction data into a dictionary
self.data = load_yaml(self.prediction.strip())
self.data = load_yaml(self.prediction.strip('\n').strip('` '))
if get_settings().pr_description.add_original_user_description and self.user_description:
self.data["User Description"] = self.user_description