pub fn append_message_with_reply( storage_root: &Path, session_id: &str, role: Role, content: &str, reply_to_fragment_id: Option<&str>, ) -> Result<u64, ChatError>