pub fn dedup_key( prompt: &str, metadata: &HashMap<String, String>, session_id: Option<&str>, ) -> String