chore(lint): remove unused imports, variables, and redundant mut bindings

Eliminate low-risk clippy warnings as part of the strict lint backlog (#409):

- Remove unused `uuid::Uuid` imports from slack and telegram channels
- Remove unnecessary `mut` and redundant rebindings in agent loop
- Prefix unused `channel_id` variable in discord channel
- Remove unused test imports (`ChatResponse`, `ToolCall`, `TempDir`, `Path`)
This commit is contained in:
darwin808 2026-02-17 16:14:56 +08:00 committed by Chummy
parent ba287a2ea5
commit 4413790859
7 changed files with 3 additions and 10 deletions

View file

@ -3,7 +3,6 @@ use async_trait::async_trait;
use reqwest::multipart::{Form, Part};
use std::path::Path;
use std::time::Duration;
use uuid::Uuid;
/// Telegram's maximum message length for text messages
const TELEGRAM_MAX_MESSAGE_LENGTH: usize = 4096;