fix: Remove deprecated user param in OpenAIResponseObject

This commit is contained in:
Swapna Lekkala 2025-09-29 11:02:33 -07:00
parent 975ead1d6a
commit b01de692c0
5 changed files with 0 additions and 20 deletions

View file

@ -9456,10 +9456,6 @@
"truncation": { "truncation": {
"type": "string", "type": "string",
"description": "(Optional) Truncation strategy applied to the response" "description": "(Optional) Truncation strategy applied to the response"
},
"user": {
"type": "string",
"description": "(Optional) User identifier associated with the request"
} }
}, },
"additionalProperties": false, "additionalProperties": false,
@ -13594,10 +13590,6 @@
"type": "string", "type": "string",
"description": "(Optional) Truncation strategy applied to the response" "description": "(Optional) Truncation strategy applied to the response"
}, },
"user": {
"type": "string",
"description": "(Optional) User identifier associated with the request"
},
"input": { "input": {
"type": "array", "type": "array",
"items": { "items": {

View file

@ -6884,10 +6884,6 @@ components:
type: string type: string
description: >- description: >-
(Optional) Truncation strategy applied to the response (Optional) Truncation strategy applied to the response
user:
type: string
description: >-
(Optional) User identifier associated with the request
additionalProperties: false additionalProperties: false
required: required:
- created_at - created_at
@ -10082,10 +10078,6 @@ components:
type: string type: string
description: >- description: >-
(Optional) Truncation strategy applied to the response (Optional) Truncation strategy applied to the response
user:
type: string
description: >-
(Optional) User identifier associated with the request
input: input:
type: array type: array
items: items:

View file

@ -336,7 +336,6 @@ class OpenAIResponseObject(BaseModel):
:param text: Text formatting configuration for the response :param text: Text formatting configuration for the response
:param top_p: (Optional) Nucleus sampling parameter used for generation :param top_p: (Optional) Nucleus sampling parameter used for generation
:param truncation: (Optional) Truncation strategy applied to the response :param truncation: (Optional) Truncation strategy applied to the response
:param user: (Optional) User identifier associated with the request
""" """
created_at: int created_at: int
@ -354,7 +353,6 @@ class OpenAIResponseObject(BaseModel):
text: OpenAIResponseText = OpenAIResponseText(format=OpenAIResponseTextFormat(type="text")) text: OpenAIResponseText = OpenAIResponseText(format=OpenAIResponseTextFormat(type="text"))
top_p: float | None = None top_p: float | None = None
truncation: str | None = None truncation: str | None = None
user: str | None = None
@json_schema_type @json_schema_type

View file

@ -41,7 +41,6 @@ export default function ResponseDetailPage() {
temperature: responseData.temperature, temperature: responseData.temperature,
top_p: responseData.top_p, top_p: responseData.top_p,
truncation: responseData.truncation, truncation: responseData.truncation,
user: responseData.user,
}; };
}; };

View file

@ -43,7 +43,6 @@ const convertResponseListData = (
temperature: responseData.temperature, temperature: responseData.temperature,
top_p: responseData.top_p, top_p: responseData.top_p,
truncation: responseData.truncation, truncation: responseData.truncation,
user: responseData.user,
}; };
}; };