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
|
|
@ -489,10 +489,8 @@ pub(crate) async fn run_tool_call_loop(
|
|||
};
|
||||
|
||||
let response_text = response;
|
||||
let mut assistant_history_content = response_text.clone();
|
||||
let assistant_history_content = response_text.clone();
|
||||
let (parsed_text, tool_calls) = parse_tool_calls(&response_text);
|
||||
let mut parsed_text = parsed_text;
|
||||
let mut tool_calls = tool_calls;
|
||||
|
||||
if tool_calls.is_empty() {
|
||||
// No tool calls — this is the final response
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue