From 16e4c38898ed36ee44237314ce823bf3d81ea90c Mon Sep 17 00:00:00 2001 From: David Holtz Date: Fri, 18 Oct 2024 16:11:58 +0000 Subject: [PATCH] fix: adjust tool choice type in test --- router/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/router/src/lib.rs b/router/src/lib.rs index 08f8924d073..7295a7a9388 100644 --- a/router/src/lib.rs +++ b/router/src/lib.rs @@ -1781,7 +1781,7 @@ mod tests { stop: None, stream: false, tools: tools, - tool_choice: None, + tool_choice: ToolChoice::Auto, tool_prompt: Some("Given the functions available, please respond with a JSON for a function call with its proper arguments that best answers the given prompt. Respond in the format {name: function name, parameters: dictionary of argument name and its value}.Do not use variables.".to_string()), temperature: None, response_format: None,