mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-12-12 02:45:18 +00:00
bitbucket code suggestions
This commit is contained in:
parent
d47a840179
commit
0f815876e5
1 changed files with 4 additions and 2 deletions
|
|
@ -131,7 +131,9 @@ def parse_code_suggestion(code_suggestion: dict, i: int = 0, gfm_supported: bool
|
|||
markdown_text += "<hr>"
|
||||
else:
|
||||
for sub_key, sub_value in code_suggestion.items():
|
||||
if isinstance(sub_key, str):
|
||||
sub_key = sub_key.rstrip()
|
||||
if isinstance(sub_value,str):
|
||||
sub_value = sub_value.rstrip()
|
||||
if isinstance(sub_value, dict): # "code example"
|
||||
markdown_text += f" - **{sub_key}:**\n"
|
||||
|
|
|
|||
Loading…
Reference in a new issue