Skip to content

Commit 45c18fc

Browse files
authored
Merge branch 'master' into feature/test-ai-review
2 parents 3907622 + 85d1571 commit 45c18fc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/scripts/ai_code_reviewer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,4 +183,4 @@ def get_llm_response(prompt, api_key, model_name="gpt-4o"): # 或 "gemini-pro"
183183
print(f"\nSuccessfully posted AI review comment to PR #{pull_request_number}.")
184184
except subprocess.CalledProcessError as e:
185185
print(f"Error posting comment to PR: {e}")
186-
sys.exit(1)
186+
sys.exit(1)

.github/workflows/ai_code_review.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,4 @@ jobs:
5454
GITHUB_BASE_REF: ${{ env.GITHUB_BASE_REF }}
5555
GITHUB_HEAD_REF: ${{ env.GITHUB_HEAD_REF }}
5656
GITHUB_PR_NUMBER: ${{ env.GITHUB_PR_NUMBER }}
57-
GITHUB_REPOSITORY: ${{ env.GITHUB_REPOSITORY }}
57+
GITHUB_REPOSITORY: ${{ env.GITHUB_REPOSITORY }}

0 commit comments

Comments
 (0)