diff --git a/src/channels/telegram.rs b/src/channels/telegram.rs index af48a72..a5c8dc5 100644 --- a/src/channels/telegram.rs +++ b/src/channels/telegram.rs @@ -1115,8 +1115,7 @@ impl Channel for TelegramChannel { return Ok(()); } - self.send_text_chunks(&content, &message.recipient) - .await + self.send_text_chunks(&content, &message.recipient).await } async fn listen(&self, tx: tokio::sync::mpsc::Sender) -> anyhow::Result<()> { @@ -1838,7 +1837,8 @@ mod tests { #[test] fn strip_tool_call_tags_removes_standard_tags() { - let input = "Hello {\"name\":\"shell\",\"arguments\":{\"command\":\"ls\"}} world"; + let input = + "Hello {\"name\":\"shell\",\"arguments\":{\"command\":\"ls\"}} world"; let result = strip_tool_call_tags(input); assert_eq!(result, "Hello world"); } @@ -1866,8 +1866,7 @@ mod tests { #[test] fn strip_tool_call_tags_handles_mixed_tags() { - let input = - "A a B b C c D"; + let input = "A a B b C c D"; let result = strip_tool_call_tags(input); assert_eq!(result, "A B C D"); }