mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-03-17 22:27:26 +08:00
Merge 24617166ce2edf9ce5e78e98673a74d3f3880d38 into 254f6b986720c92ddf97fbb1a6a6465da8e87e29
This commit is contained in:
commit
08e40e44c8
@ -396,6 +396,24 @@ Supported models:
|
||||
|
||||
Flags: `--tool-call-parser gigachat3`
|
||||
|
||||
### GPT-OSS Models (`openai`)
|
||||
|
||||
OpenAI's GPT-OSS models use a special token-based format (Harmony format) for tool calling that is parsed using the `openai` tool parser.
|
||||
|
||||
Supported models:
|
||||
|
||||
* `openai/gpt-oss-120b`
|
||||
* `openai/gpt-oss-20b`
|
||||
|
||||
Known limitations:
|
||||
|
||||
* Only `tool_choice='auto'` is currently supported
|
||||
* Streaming tool calls have limited support
|
||||
|
||||
Flags: `--tool-call-parser openai --enable-auto-tool-choice`
|
||||
|
||||
For more detailed examples and usage patterns, see the [GPT-OSS cookbook](https://docs.vllm.ai/projects/recipes/en/latest/OpenAI/GPT-OSS.html).
|
||||
|
||||
### Models with Pythonic Tool Calls (`pythonic`)
|
||||
|
||||
A growing number of models output a python list to represent tool calls instead of using JSON. This has the advantage of inherently supporting parallel tool calls and removing ambiguity around the JSON schema required for tool calls. The `pythonic` tool parser can support such models.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user