From 905d50397110fc53cebedbdb1da94c7062e1b43a 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 009b57cf..d8762206 100644 --- a/router/src/lib.rs +++ b/router/src/lib.rs @@ -1823,7 +1823,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,