feature: uncomment AI review
This commit is contained in:
parent
afe21adf51
commit
ecfb132dc4
1 changed files with 2 additions and 2 deletions
|
|
@ -624,8 +624,8 @@ def start_ai_code_review(pull_request_id):
|
||||||
log.warning("instructions not set, using default instructions.")
|
log.warning("instructions not set, using default instructions.")
|
||||||
instructions = service.DEFAULT_BASIC_REVIEW_POINTS
|
instructions = service.DEFAULT_BASIC_REVIEW_POINTS
|
||||||
|
|
||||||
# response = service.code_review(diffset, instructions=instructions)
|
response = service.code_review(diffset, instructions=instructions)
|
||||||
# _add_comments(response, pull_request, log, ai_user)
|
_add_comments(response, pull_request, log, ai_user)
|
||||||
|
|
||||||
_set_ai_pr_state(pull_request, "finished")
|
_set_ai_pr_state(pull_request, "finished")
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue