[FEATURE] 채팅 요청 API에 대한 응답 Chat 형식으로 변경#210
Merged
yooooonshine merged 1 commit intodevelopfrom Oct 12, 2025
Merged
Conversation
- 기존 requestId 대신 Chat 형식에 맞게 응답하도록 변경
Closed
Walkthrough채팅 메시지 요청/응답 DTO 구조가 재배치되고, Changes
Sequence Diagram(s)sequenceDiagram
autonumber
actor Client
participant Controller as AiChatController
participant Service as AiChatMessageService
participant Repo as MessageStore
participant AI as AiServerService
Client->>Controller: POST /ai/chat/messages (ChatMessageRequest)
Controller->>Service: sendUserMessage(userId, postId, request)
Service->>Repo: 메시지 저장(요청/메타데이터)
alt 이미지 포함
Service->>AI: 이미지 처리 요청(비동기 가능)
AI-->>Service: 처리 결과/상태
end
Service->>Service: ChatMessageResponse.from(message)
Service-->>Controller: ChatMessageResponse
Controller-->>Client: AppResponse<ChatMessageResponse>
note over Client,Controller: 응답 페이로드가 RequestId 단독 → ChatMessageResponse로 변경
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Poem
Pre-merge checks and finishing touches❌ Failed checks (2 warnings, 1 inconclusive)
✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (10)
💤 Files with no reviewable changes (2)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
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.
개요
작업사항
Summary by CodeRabbit
New Features
Refactor
Chores