Skip to content

Commit e5ab6e1

Browse files
committed
fix: Apply openai 1.x.x
1 parent c5d6486 commit e5ab6e1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/code-review.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@ jobs:
4545
with open('pr_diff.txt', 'r') as file:
4646
diff_content = file.read()
4747
48-
# GPT 모델 호출
49-
response = openai.ChatCompletion.create(
48+
response = openai.chat.completions.create(
5049
model=model_name,
5150
messages=[
5251
{"role": "system", "content": system_prompt},

0 commit comments

Comments
 (0)