mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-12-12 02:45:18 +00:00
if settings.pr_reviewer.num_code_suggestions
This commit is contained in:
parent
51e08c3c2b
commit
b3a1d456b2
1 changed files with 1 additions and 1 deletions
|
|
@ -125,7 +125,7 @@ class PRReviewer:
|
|||
except json.decoder.JSONDecodeError:
|
||||
data = try_fix_json(review)
|
||||
|
||||
if settings.config.pr_reviewer > 0:
|
||||
if settings.pr_reviewer.num_code_suggestions > 0:
|
||||
try:
|
||||
for d in data['PR Feedback']['Code suggestions']:
|
||||
relevant_file = d['relevant file'].strip()
|
||||
|
|
|
|||
Loading…
Reference in a new issue