Skip to content

fix: openai 라이브러리 버전 호환성 문제 해결 (httpx proxies)#6

Merged
zzuhannn merged 1 commit into
mainfrom
fix/#5
Apr 30, 2026
Merged

fix: openai 라이브러리 버전 호환성 문제 해결 (httpx proxies)#6
zzuhannn merged 1 commit into
mainfrom
fix/#5

Conversation

@zzuhannn

Copy link
Copy Markdown
Member

🔎 관련 이슈

📋 작업 내용

  • openai 1.50.0 → 1.55.3 업그레이드
  • httpx==0.27.2 명시 추가

💡 알림

  • 기존 `openai==1.50.0`이 `httpx>=0.28` 환경에서 `TypeError: Client.init() got an unexpected keyword argument 'proxies'` 에러로 OpenAI 호출 실패하던 문제 해결
  • 머지 후 CD 자동 실행되어 새 이미지 배포되며, EC2에서 `docker compose up -d --force-recreate fastapi` 한 번 필요

✅ 체크리스트

  • CI 빌드 성공
  • 새 이미지로 fastapi 컨테이너 재시작 후 `/graph/extract` 정상 응답 확인

openai==1.50.0이 httpx>=0.28과 호환되지 않아 Client 초기화 시
TypeError: got an unexpected keyword argument 'proxies' 발생.

- openai 1.50.0 -> 1.55.3 (최신 안정 버전)
- httpx==0.27.2 명시 (proxies 인자 호환 마지막 메이저 버전)
@zzuhannn zzuhannn merged commit 7e4fe39 into main Apr 30, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix: openai 라이브러리 버전 호환성 문제 해결 (httpx proxies)

1 participant