mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-13 17:20:38 +08:00
Call PRAgent from github_action_runner.py
This commit is contained in:
@ -125,7 +125,7 @@ class PRReviewer:
|
||||
except json.decoder.JSONDecodeError:
|
||||
data = try_fix_json(review)
|
||||
|
||||
if settings.config.pr_reviewer > 0:
|
||||
if settings.get("CONFIG.PR_REVIEWER.NUM_CODE_SUGGESTIONS", 0):
|
||||
try:
|
||||
for d in data['PR Feedback']['Code suggestions']:
|
||||
relevant_file = d['relevant file'].strip()
|
||||
|
Reference in New Issue
Block a user