# What does this PR do?


## Test Plan
This commit is contained in:
Eric Huang 2025-10-08 13:23:21 -07:00
parent 96886afaca
commit 1e891489a8
13 changed files with 170 additions and 4 deletions

View file

@ -7709,12 +7709,36 @@
"user": {
"type": "string",
"description": "(Optional) The user to use."
},
"kwargs": {
"oneOf": [
{
"type": "null"
},
{
"type": "boolean"
},
{
"type": "number"
},
{
"type": "string"
},
{
"type": "array"
},
{
"type": "object"
}
],
"description": "(Optional) Additional provider-specific parameters to pass through as extra_body (e.g., chat_template_kwargs for vLLM)."
}
},
"additionalProperties": false,
"required": [
"model",
"messages"
"messages",
"kwargs"
],
"title": "OpenaiChatCompletionRequest"
},

View file

@ -5666,10 +5666,22 @@ components:
user:
type: string
description: (Optional) The user to use.
kwargs:
oneOf:
- type: 'null'
- type: boolean
- type: number
- type: string
- type: array
- type: object
description: >-
(Optional) Additional provider-specific parameters to pass through as
extra_body (e.g., chat_template_kwargs for vLLM).
additionalProperties: false
required:
- model
- messages
- kwargs
title: OpenaiChatCompletionRequest
OpenAIChatCompletion:
type: object

View file

@ -5205,12 +5205,36 @@
"user": {
"type": "string",
"description": "(Optional) The user to use."
},
"kwargs": {
"oneOf": [
{
"type": "null"
},
{
"type": "boolean"
},
{
"type": "number"
},
{
"type": "string"
},
{
"type": "array"
},
{
"type": "object"
}
],
"description": "(Optional) Additional provider-specific parameters to pass through as extra_body (e.g., chat_template_kwargs for vLLM)."
}
},
"additionalProperties": false,
"required": [
"model",
"messages"
"messages",
"kwargs"
],
"title": "OpenaiChatCompletionRequest"
},

View file

@ -3915,10 +3915,22 @@ components:
user:
type: string
description: (Optional) The user to use.
kwargs:
oneOf:
- type: 'null'
- type: boolean
- type: number
- type: string
- type: array
- type: object
description: >-
(Optional) Additional provider-specific parameters to pass through as
extra_body (e.g., chat_template_kwargs for vLLM).
additionalProperties: false
required:
- model
- messages
- kwargs
title: OpenaiChatCompletionRequest
OpenAIChatCompletion:
type: object

View file

@ -7214,12 +7214,36 @@
"user": {
"type": "string",
"description": "(Optional) The user to use."
},
"kwargs": {
"oneOf": [
{
"type": "null"
},
{
"type": "boolean"
},
{
"type": "number"
},
{
"type": "string"
},
{
"type": "array"
},
{
"type": "object"
}
],
"description": "(Optional) Additional provider-specific parameters to pass through as extra_body (e.g., chat_template_kwargs for vLLM)."
}
},
"additionalProperties": false,
"required": [
"model",
"messages"
"messages",
"kwargs"
],
"title": "OpenaiChatCompletionRequest"
},

View file

@ -5360,10 +5360,22 @@ components:
user:
type: string
description: (Optional) The user to use.
kwargs:
oneOf:
- type: 'null'
- type: boolean
- type: number
- type: string
- type: array
- type: object
description: >-
(Optional) Additional provider-specific parameters to pass through as
extra_body (e.g., chat_template_kwargs for vLLM).
additionalProperties: false
required:
- model
- messages
- kwargs
title: OpenaiChatCompletionRequest
OpenAIChatCompletion:
type: object