#[cfg(feature = "repl-chat")]
#[allow(dead_code)]
#[derive(Default)]
pub struct ChatHandler {
}
#[cfg(feature = "repl-chat")]
#[allow(dead_code)]
impl ChatHandler {
pub fn new() -> Self {
Self::default()
}
pub async fn send_message(&self, message: &str) -> anyhow::Result<String> {
Ok(format!("Echo: {}", message))
}
}