mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-03 04:10:49 +08:00
feat: include item count in TODO sections summary
This commit is contained in:
@ -274,7 +274,7 @@ def convert_to_markdown_v2(output_data: dict,
|
||||
if is_value_no(value):
|
||||
markdown_text += f"{emoji} <strong>No TODO sections</strong>"
|
||||
else:
|
||||
markdown_text += f"<details><summary>{emoji} <strong>TODO sections</strong></summary>\n\n"
|
||||
markdown_text += f"<details><summary>{emoji} <strong>TODO sections ({len(value)} items)</strong></summary>\n\n"
|
||||
if isinstance(value, list):
|
||||
markdown_text += "<ul>\n"
|
||||
for todo_item in value:
|
||||
|
Reference in New Issue
Block a user