Improve agent prompting and classifier latency; clean up build warnings

This commit is contained in:
2026-09-15 14:25:00 -05:00
parent 66b73b1aac
commit 76d492aa75
69 changed files with 368 additions and 205 deletions
+7 -1
View File
@@ -35,7 +35,13 @@ pub(crate) fn action_from_tool_call(
AIAgentActionType::CallMCPTool {
server_id: target.server_id,
name: target.name.clone(),
input: input.clone(),
input: {
let mut arguments = input.clone();
if let Some(parameter) = &target.title_parameter {
arguments.as_object_mut().unwrap().remove(parameter);
}
arguments
},
}
} else {
match call.name.as_str() {