mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-04 04:04:14 +00:00
fix: Remove deprecated user param in OpenAIResponseObject
This commit is contained in:
parent
975ead1d6a
commit
b01de692c0
5 changed files with 0 additions and 20 deletions
8
docs/static/llama-stack-spec.html
vendored
8
docs/static/llama-stack-spec.html
vendored
|
@ -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": {
|
||||||
|
|
8
docs/static/llama-stack-spec.yaml
vendored
8
docs/static/llama-stack-spec.yaml
vendored
|
@ -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:
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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,
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -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,
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue