diff --git a/src/domain/agent/tools.rs b/src/domain/agent/tools.rs index 17251d3..bbdff4c 100644 --- a/src/domain/agent/tools.rs +++ b/src/domain/agent/tools.rs @@ -96,17 +96,6 @@ pub fn get_tools() -> Vec { }), }, }, - Tool { - tool_type: "function".to_string(), - function: FunctionDefinition { - name: "get_current_time".to_string(), - description: "Get the current date and time in ISO 8601 format".to_string(), - parameters: serde_json::json!({ - "type": "object", - "properties": {}, - }), - }, - }, ] } @@ -209,8 +198,6 @@ pub async fn handle_tool_call( )); } (out, false) - } else if name == "get_current_time" { - (chrono::Utc::now().to_rfc3339(), false) } else { (format!("Error: Unknown tool {}", name), false) };