Merge 1e891489a8 into sapling-pr-archive-ehhuang

This commit is contained in:
ehhuang 2025-10-08 13:23:35 -07:00 committed by GitHub
commit 5025e02d81
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 170 additions and 4 deletions

View file

@ -7372,12 +7372,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

@ -5434,10 +5434,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

@ -5167,12 +5167,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

@ -3888,10 +3888,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

@ -6839,12 +6839,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

@ -5101,10 +5101,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