mirror of
https://git.boos.lat/aibo/BossChat.git
synced 2026-10-30 15:16:11 +00:00
feat: add manual "转人工" (request human) action for conversations
- Backend: RequestHuman service method changes status from AI_SERVING to PENDING - Backend: POST /api/dashboard/conversation/request-human endpoint - Frontend: requestHumanConversation API client - Frontend: "转人工" button in conversation list dropdown and detail dialog
This commit is contained in:
@@ -34,6 +34,10 @@ type TransferConversationRequest struct {
|
||||
Reason string `json:"reason"`
|
||||
}
|
||||
|
||||
type RequestHumanConversationRequest struct {
|
||||
ConversationID int64 `json:"conversationId"`
|
||||
}
|
||||
|
||||
type CloseConversationRequest struct {
|
||||
ConversationID int64 `json:"conversationId"`
|
||||
CloseReason string `json:"closeReason"`
|
||||
|
||||
Reference in New Issue
Block a user