OpenAI 모델을 gpt-4.1-nano에서 gpt-5-nano로 마이그레이션#45
Merged
Conversation
- reasoning 모델 호환: max_tokens→max_completion_tokens, temperature 제거→reasoning_effort:minimal - 사용량 비용 단가/라벨을 gpt-5-nano 기준으로 갱신(입력 $0.10→$0.05/1M) - 코드 리뷰 프롬프트에 길이(500자)·한국어 전용 제약 강화
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
github | 69e68d2 | Commit Preview URL Branch Preview URL |
Jun 26 2026, 01:23 PM |
sounmind
approved these changes
Jun 26, 2026
Member
|
@DaleSeo 병합 후 테스트 PR을 Close - Open해 운영 환경에서 제대로 작동되는지까지 확인하면 이상적이겠습니다. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR 코드 분석에 쓰는 OpenAI 모델을
gpt-4.1-nano에서 입력 단가가 절반인 신 모델인gpt-5-nano로 교체했습니다. GPT 5 부터는 reasoning 모델이라 temperature와 같은 기존 파라미터를 그대로 쓰면 400 에러가 나기 때문에 관련해서 수정하였습니다.사용량 비용을 표시할 때 하드코딩 단가와 라벨도 새 모델 기준으로 맞췄습니다. 추가로, 실제 호출 검증 중 GPT 5가 코드 리뷰 길이 제약을 덜 지키고 간혹 한자를 섞는 경향이 보여 코드 리뷰 시스템 프롬프트에 "500자 이내, 한국어 전용" 규칙을 강화했습니다.
실제 로컬에서 임시로 OpenAI API 키를 발급받아 JSON 준수, 파라미터 호환을 검증하였습니다.