Skip to content

feat: 사용자 키 상세에 일일 토큰 한도 노출 (v0.71.0) - #118

Merged
yessjun merged 1 commit into
mainfrom
feat/llm-key-detail-daily-tokens
Sep 7, 2026
Merged

feat: 사용자 키 상세에 일일 토큰 한도 노출 (v0.71.0)#118
yessjun merged 1 commit into
mainfrom
feat/llm-key-detail-daily-tokens

Conversation

@yessjun

@yessjun yessjun commented Sep 7, 2026

Copy link
Copy Markdown
Member

📝 작업내용

  • LlmKeyDetailResponsedailyTokens 추가 (null은 일일 한도 없음, 0은 자체 서빙 사용 불가)
  • 종전 사용자 키 상세는 분당 요청과 분당 토큰, 동시 요청 셋만 싣고 신청자가 고르는 일일 토큰 한도는 사용량 응답의 budget에만 있던 상태
  • rpm, tpm, concurrency는 응답에 유지 (제거는 파괴적 변경, 콘솔이 그리지 않을 뿐)
  • 사용량 응답 넷의 @Schema 설명 정리: 설계 근거와 강조 마크다운, 벤더 이름 제거 (OpenRouter는 공급자로, limit window는 한도 창으로)
  • API 명세 v0.71.0, op 불변, 마이그레이션 없음

⭐️ 검증

  • LlmKeyQueryTestdailyTokens 직렬화 단언 추가, 5개 통과
  • ContractDriftTestcontract/openapi.yaml 재생성, diff는 필드 하나와 설명 아홉과 버전뿐
  • mvn verify 1343개 중 MfaCodeLockoutTest 하나가 동시 부하 아래 시간 창 단언에서 실패, 단독 재실행 7개 통과 (이 변경과 무관한 시간 창 시험)

💬 리뷰 포인트

  • 특이사항 없음

The user-facing detail carried the three per-minute limits and not the
daily token limit, the one limit the applicant actually chose. The
usage-response descriptions that reach the published spec also drop
design rationale, markdown emphasis and the vendor name.
@yessjun
yessjun merged commit ac6cc0e into main Sep 7, 2026
1 check passed
@yessjun
yessjun deleted the feat/llm-key-detail-daily-tokens branch September 7, 2026 12:57
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.

1 participant