From b831a6e0d3dfff0e4be2fd37ed8d2396ce4109d6 Mon Sep 17 00:00:00 2001 From: ochafik Date: Thu, 30 Jan 2025 04:49:02 +0000 Subject: [PATCH] rm unused llama_param --- examples/server/utils.hpp | 1 - 1 file changed, 1 deletion(-) diff --git a/examples/server/utils.hpp b/examples/server/utils.hpp index 157df6a1e..3c23bbeff 100644 --- a/examples/server/utils.hpp +++ b/examples/server/utils.hpp @@ -625,7 +625,6 @@ static json oaicompat_completion_params_parse( // Apply chat template to the list of messages if (use_jinja) { - llama_params["tools"] = tools; auto tool_choice = json_value(body, "tool_choice", std::string("auto")); if (tool_choice != "none" && tool_choice != "auto" && tool_choice != "required") { throw std::runtime_error("Invalid tool_choice: " + tool_choice);