add tools into TokenizeChatRequest (#18187)
Signed-off-by: yangxia <yangxiast@gmail.com>
This commit is contained in:
@@ -1593,6 +1593,10 @@ class TokenizeChatRequest(OpenAIBaseModel):
|
||||
default=None,
|
||||
description=("Additional kwargs to pass to the HF processor."),
|
||||
)
|
||||
tools: Optional[list[ChatCompletionToolsParam]] = Field(
|
||||
default=None,
|
||||
description=("A list of tools the model may call."),
|
||||
)
|
||||
|
||||
@model_validator(mode="before")
|
||||
@classmethod
|
||||
|
||||
Reference in New Issue
Block a user