Skip to content

Commit 16e4c38

Browse files
committed
fix: adjust tool choice type in test
1 parent 6102a95 commit 16e4c38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

router/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1781,7 +1781,7 @@ mod tests {
17811781
stop: None,
17821782
stream: false,
17831783
tools: tools,
1784-
tool_choice: None,
1784+
tool_choice: ToolChoice::Auto,
17851785
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()),
17861786
temperature: None,
17871787
response_format: None,

0 commit comments

Comments
 (0)