From 8c24b1282b4759bbdab0c2259ae967ca931e82f5 Mon Sep 17 00:00:00 2001 From: drbh Date: Mon, 10 Jun 2024 18:59:22 +0000 Subject: [PATCH] fix: adjust typos --- router/src/server.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/router/src/server.rs b/router/src/server.rs index 83b124c1..e3c2c4f9 100644 --- a/router/src/server.rs +++ b/router/src/server.rs @@ -1059,7 +1059,7 @@ async fn chat_completions( } }; - //dDetermine the appropriate arguments for apply_chat_template + // determine the appropriate arguments for apply_chat_template let tools_grammar_prompt = tool_grammar .as_ref() .map(|t| (GrammarType::Json(serde_json::json!(t)), tool_prompt)); @@ -1072,7 +1072,7 @@ async fn chat_completions( ), }; - // Apply chat template to flatten the request into a single input + // apply chat template to flatten the request into a single input let inputs = match infer.apply_chat_template(messages, tools_grammar_prompt) { Ok(inputs) => inputs, Err(err) => {