mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-05 05:10:38 +08:00
fix: remove last line
This commit is contained in:
@ -362,7 +362,7 @@ def try_fix_yaml(response_text: str) -> dict:
|
|||||||
try:
|
try:
|
||||||
data = yaml.safe_load(response_text_lines_tmp,)
|
data = yaml.safe_load(response_text_lines_tmp,)
|
||||||
get_logger().info(f"Successfully parsed AI prediction after removing {i} lines")
|
get_logger().info(f"Successfully parsed AI prediction after removing {i} lines")
|
||||||
break
|
return data
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user