mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-11 20:34:54 +00:00
fix: adjust tool choice type in test
This commit is contained in:
parent
1ce1cf2862
commit
905d503971
@ -1823,7 +1823,7 @@ mod tests {
|
|||||||
stop: None,
|
stop: None,
|
||||||
stream: false,
|
stream: false,
|
||||||
tools: tools,
|
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()),
|
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,
|
temperature: None,
|
||||||
response_format: None,
|
response_format: None,
|
||||||
|
Loading…
Reference in New Issue
Block a user