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:
parent
ba287a2ea5
commit
4413790859
7 changed files with 3 additions and 10 deletions
|
|
@ -344,7 +344,7 @@ impl Channel for DiscordChannel {
|
|||
}
|
||||
|
||||
let message_id = d.get("id").and_then(|i| i.as_str()).unwrap_or("");
|
||||
let channel_id = d.get("channel_id").and_then(|c| c.as_str()).unwrap_or("").to_string();
|
||||
let _channel_id = d.get("channel_id").and_then(|c| c.as_str()).unwrap_or("").to_string();
|
||||
|
||||
let channel_msg = ChannelMessage {
|
||||
id: if message_id.is_empty() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue