We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2b9371 commit 5bd163dCopy full SHA for 5bd163d
.github/workflows/code-review.yml
@@ -45,7 +45,7 @@ jobs:
45
model_name = "${{ secrets.OPENAI_MODEL }}"
46
summary_system_prompt = """${{ secrets.SUMMARY_SYSTEM_PROMPT }}"""
47
48
- # 처리된 파일과 라인 기록 (중복 방지)
+ # 처리된 파일 기록 (중복 방지)
49
processed_files = set() # 각 파일을 기록
50
review_history = [] # 각 파일의 리뷰 기록을 저장
51
@@ -86,10 +86,6 @@ jobs:
86
patch = file.get('patch', '')
87
print(f"Analyzing patch for file: {file_path}")
88
89
- # 각 파일마다 중복 라인 처리를 위한 집합 생성
90
- if file_path not in processed_lines:
91
- processed_lines[file_path] = set()
92
-
93
# 전체 패치 내용을 GPT에게 전달
94
if patch: # 패치가 존재할 경우에만 처리
95
print(f"Calling GPT API for patch in file: {file_path}")
0 commit comments