diff --git a/api/libs/handlers/src/chats/post_chat_handler.rs b/api/libs/handlers/src/chats/post_chat_handler.rs index 8872bbe9e..bab9b761b 100644 --- a/api/libs/handlers/src/chats/post_chat_handler.rs +++ b/api/libs/handlers/src/chats/post_chat_handler.rs @@ -823,14 +823,12 @@ pub struct BusterChatResponseFileMetadata { #[derive(Debug, Serialize, Clone)] #[serde(tag = "type")] pub enum BusterChatMessage { - #[serde(rename_all = "camelCase")] Text { id: String, message: Option, message_chunk: Option, is_final_message: Option, }, - #[serde(rename_all = "snake_case")] File { id: String, file_type: String,