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,