mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-03 04:10:49 +08:00
fix: remove last line
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user