Skip to content

Conversation

@yeoeunn
Copy link
Collaborator

@yeoeunn yeoeunn commented Feb 22, 2025

개요

응답의 최대 토큰 수를 제한하여 API 응답이 너무 길어지는 것을 방지하였습니다.

PR 유형

어떤 변경 사항이 있나요?

  • 새로운 기능 추가

작업 내용

  • GPT API 호출 시 max_tokens 값을 설정하여 응답 길이를 제한함
  • GptRequestDTO 또는 컨트롤러에서 토큰 수 제한을 추가
  • 관련 코드 수정 및 테스트 진행

변경 사항

  1. 브랜치 생성 및 이동
    git checkout -b feature/limit-response-tokens
  2. 변경 사항 추가 및 커밋
    git add .
    git commit -m "feat: 응답 토큰 수 제한"
  3. 원격 저장소에 브랜치 푸시
    git push origin feature/limit-response-tokens

PR Checklist

PR이 다음 요구 사항을 충족하는지 확인하세요.

  • 커밋 메시지 컨벤션에 맞게 작성했습니다.
  • 변경 사항에 대한 테스트를 했습니다. (버그 수정/기능에 대한 테스트)

@yeoeunn yeoeunn added ✨ feature 기능 개발 📡 API API 관련 코드 작성 labels Feb 22, 2025
@yeoeunn yeoeunn added this to the 📦 Backend Development milestone Feb 22, 2025
@yeoeunn yeoeunn requested a review from andrewkimswe February 22, 2025 17:13
@andrewkimswe andrewkimswe changed the base branch from develop to main February 23, 2025 08:25
Copy link
Member

@andrewkimswe andrewkimswe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

고생했어!

@andrewkimswe andrewkimswe merged commit dd0bae9 into main Feb 23, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

📡 API API 관련 코드 작성 ✨ feature 기능 개발

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants