Skip to content

Commit

Permalink
fix: adjust tool choice type in test
Browse files Browse the repository at this point in the history
  • Loading branch information
drbh committed Oct 18, 2024
1 parent 6102a95 commit 16e4c38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion router/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 16e4c38

Please sign in to comment.