[BugFix] Do not raise a ValueError when tool_choice is set to the supported none option and tools are not defined. (#10000)
Signed-off-by: Guillaume Calmettes <gcalmettes@scaleway.com>
This commit is contained in:
committed by
GitHub
parent
d201d41973
commit
36c513a076
@@ -215,10 +215,10 @@ The order of priorities is `command line > config file values > defaults`.
|
||||
---
|
||||
|
||||
## Tool calling in the chat completion API
|
||||
|
||||
vLLM supports named function calling and `auto` tool choice in the chat completion API. The `tool_choice` options `required` is **not yet supported** but on the roadmap.
|
||||
vLLM currently supports named function calling, as well as the `auto` and `none` options for the `tool_choice` field in the chat completion API. The `tool_choice` option `required` is **not yet supported** but on the roadmap.
|
||||
|
||||
It is the callers responsibility to prompt the model with the tool information, vLLM will not automatically manipulate the prompt.
|
||||
Please see below for recommended configuration and chat templates to use when function calling is to be used with the different models.
|
||||
|
||||
|
||||
### Named Function Calling
|
||||
|
||||
Reference in New Issue
Block a user