mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-12-11 18:35:18 +00:00
s
This commit is contained in:
parent
5150e66723
commit
fc5b00f4d3
1 changed files with 4 additions and 0 deletions
|
|
@ -313,6 +313,10 @@ class PRCodeSuggestions:
|
|||
try:
|
||||
pr_body = "## PR Code Suggestions\n\n"
|
||||
|
||||
if len(data.get('code_suggestions', [])) == 0:
|
||||
pr_body += "No suggestions found to improve this PR."
|
||||
return pr_body
|
||||
|
||||
language_extension_map_org = get_settings().language_extension_map_org
|
||||
extension_to_language = {}
|
||||
for language, extensions in language_extension_map_org.items():
|
||||
|
|
|
|||
Loading…
Reference in a new issue