fix(language): 구조화 번역 생성 실패 진단 및 GPT-5 호환 보완 - #71
Merged
Conversation
Member
Author
|
유효한 LLM Provider 설정으로 몽골어 Renewal Smoke Test를 완료했습니다.
Smoke에서는 Qdrant를 의도적으로 비활성화했으므로 검색 보강 관련 degraded 경고만 남습니다. Secret·개인정보·원문 응답은 댓글에 포함하지 않았습니다. |
hywznn
marked this pull request as ready for review
August 19, 2026 07:38
Member
Author
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.
문제
Renewal 안내문 번역이 실패해도 실제 Provider 오류가 숨겨지고 모든 경우가
TRANSLATION_GENERATION_FAILED로만 보였습니다. OpenAI 호환 요청에는 모델별로 허용되지 않을 수 있는temperature가 고정 전송됐고, Pydantic 기본값 필드가 OpenAI strict JSON Schema의 필수 필드 규칙과 맞지 않아 의미 검증 요청도 400으로 실패했습니다.변경 내용
temperature제거검증
pytest -q통과ruff check app tests통과target_language=mntranslated_text생성 확인TRANSLATION_GENERATION_FAILED없음PROVIDER_REQUEST_INVALID없음Qdrant를 끈 Smoke 환경에서는
RETRIEVAL_UNAVAILABLE,TRANSLATION_FALLBACK_USED가 남고 HR 검토 상태가 됩니다. 검색 보강 기능의 비활성화에 따른 정상적인 degraded 동작이며, 이번 번역 생성 오류와는 별도 범위입니다.Closes #70