diff --git a/app/api/controller/aiagent/types/chat.go b/app/api/controller/aiagent/types/chat.go index afd43ba66..4d9699aa6 100644 --- a/app/api/controller/aiagent/types/chat.go +++ b/app/api/controller/aiagent/types/chat.go @@ -22,7 +22,7 @@ import ( // Chat represents a chat conversation with a unique ID, prompt, metadata, and conversation history. type Chat struct { - ConversationID uuid.UUID `json:"conversation_uuid"` + ConversationID uuid.UUID `json:"conversation_uuid,omitempty"` Prompt string `json:"prompt"` Metadata map[string]string `json:"metadata"` Conversation []Conversation `json:"conversation"`