Merged
Conversation
Closed
68529f3 to
aa7f690
Compare
aa7f690 to
836e2a8
Compare
📊 코드 커버리지 리포트
|
Goder-0
approved these changes
Feb 28, 2026
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 설명
작업 내용
API 명세
generateAnswer)POST /webhook/chat-answerRag Request DTO 수정
{ "userId": 1, "question": "Gemini 관련 링크 찾아줘", "history": [ "네이버 링크는 naver.com입니다.", "네이버 링크 알려줘" ] "mode": "detailed" }{ "userId": 1, "question": "Gemini 관련 링크 찾아줘", "history": [{ "role":"system", "content":"네이버 링크는 naver.com입니다." }, { "role":"user", "content":"네이버 링크 알려줘" }] "mode": "detailed" }비즈니스 로직
RagAnswerFeign신규 작성: AI 서버(ai.server.url)와 통신하는 Feign Client 인터페이스 구현함.AnswerClient구현체 프로파일 분리:RagAnswerClient(!test프로파일): 실제 Feign Client를 호출하며, 통신 예외 발생 시 트랜잭션 롤백 없이 에러 로그를 남기고null을 반환하도록 Soft Fail 처리함. 응답받은 List 데이터 중 첫 번째 요소를 반환함.MockAnswerClient(test프로파일): 외부 API 호출 없이 더미 데이터를 반환하도록 구현함.ChatFacade로깅 추가:isCancelled), 예외 발생(ex != null), 결과값 누락(result == null) 등 예외 상황별 상세 로그(info/error) 기록 로직 추가함.