Skip to content

Commit

Permalink
fix: remove last line
Browse files Browse the repository at this point in the history
  • Loading branch information
koid committed Dec 21, 2023
1 parent f998620 commit a9d7899
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pr_agent/algo/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ def try_fix_yaml(response_text: str) -> dict:
try:
data = yaml.safe_load(response_text_lines_tmp,)
get_logger().info(f"Successfully parsed AI prediction after removing {i} lines")
break
return data
except:
pass

Expand Down

0 comments on commit a9d7899

Please sign in to comment.