mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-12-12 19:05:18 +00:00
fix: handle empty changes summary in file label dict based on configuration
This commit is contained in:
parent
0090f7be81
commit
9a2ba2d881
1 changed files with 1 additions and 1 deletions
|
|
@ -641,7 +641,7 @@ class PRDescription:
|
||||||
continue
|
continue
|
||||||
filename = file['filename'].replace("'", "`").replace('"', '`')
|
filename = file['filename'].replace("'", "`").replace('"', '`')
|
||||||
changes_summary = file.get('changes_summary', "")
|
changes_summary = file.get('changes_summary', "")
|
||||||
if not changes_summary:
|
if not changes_summary and self.vars.get('include_file_summary_changes', True):
|
||||||
get_logger().warning(f"Empty changes summary in file label dict, skipping file",
|
get_logger().warning(f"Empty changes summary in file label dict, skipping file",
|
||||||
artifact={"file": file})
|
artifact={"file": file})
|
||||||
continue
|
continue
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue