fix: remove last line

This commit is contained in:
koid
2023-12-21 11:11:46 +09:00
parent f99862088e
commit a9d789978b

View File

@ -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