mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-12-12 02:45:18 +00:00
fix: improve markdown rendering when git provider is unavailable
This commit is contained in:
parent
989670b159
commit
3ab2cac089
1 changed files with 2 additions and 0 deletions
|
|
@ -229,6 +229,8 @@ def convert_to_markdown_v2(output_data: dict,
|
|||
continue
|
||||
relevant_file = issue.get('relevant_file', '').strip()
|
||||
issue_header = issue.get('issue_header', '').strip()
|
||||
if issue_header.lower() == 'possible bug':
|
||||
issue_header = 'Possible Issue' # Make the header less frightening
|
||||
issue_content = issue.get('issue_content', '').strip()
|
||||
start_line = int(str(issue.get('start_line', 0)).strip())
|
||||
end_line = int(str(issue.get('end_line', 0)).strip())
|
||||
|
|
|
|||
Loading…
Reference in a new issue