mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-06 07:48:06 +00:00
fix(api): regenerate reasoning content schemas
This commit is contained in:
parent
94de1fd4fd
commit
362ada411d
2 changed files with 40 additions and 0 deletions
|
|
@ -46779,6 +46779,13 @@
|
|||
"ChatCompletionReasoningItem": {
|
||||
"description": "Represents an OpenAI Responses API reasoning item for round-tripping in conversation history.",
|
||||
"properties": {
|
||||
"content": {
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/ChatCompletionReasoningTextBlock"
|
||||
},
|
||||
"title": "Content",
|
||||
"type": "array"
|
||||
},
|
||||
"encrypted_content": {
|
||||
"anyOf": [
|
||||
{
|
||||
|
|
@ -46831,6 +46838,25 @@
|
|||
"title": "ChatCompletionReasoningSummaryTextBlock",
|
||||
"type": "object"
|
||||
},
|
||||
"ChatCompletionReasoningTextBlock": {
|
||||
"properties": {
|
||||
"text": {
|
||||
"title": "Text",
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"const": "reasoning_text",
|
||||
"title": "Type",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"type",
|
||||
"text"
|
||||
],
|
||||
"title": "ChatCompletionReasoningTextBlock",
|
||||
"type": "object"
|
||||
},
|
||||
"ChatCompletionRedactedThinkingBlock": {
|
||||
"properties": {
|
||||
"cache_control": {
|
||||
|
|
|
|||
14
ui/litellm-dashboard/src/lib/http/schema.d.ts
generated
vendored
14
ui/litellm-dashboard/src/lib/http/schema.d.ts
generated
vendored
|
|
@ -28775,6 +28775,8 @@ export interface components {
|
|||
* @description Represents an OpenAI Responses API reasoning item for round-tripping in conversation history.
|
||||
*/
|
||||
ChatCompletionReasoningItem: {
|
||||
/** Content */
|
||||
content?: components["schemas"]["ChatCompletionReasoningTextBlock"][];
|
||||
/** Encrypted Content */
|
||||
encrypted_content?: string | null;
|
||||
/** Id */
|
||||
|
|
@ -28801,6 +28803,18 @@ export interface components {
|
|||
} & {
|
||||
[key: string]: unknown;
|
||||
};
|
||||
/** ChatCompletionReasoningTextBlock */
|
||||
ChatCompletionReasoningTextBlock: {
|
||||
/** Text */
|
||||
text: string;
|
||||
/**
|
||||
* Type
|
||||
* @constant
|
||||
*/
|
||||
type: "reasoning_text";
|
||||
} & {
|
||||
[key: string]: unknown;
|
||||
};
|
||||
/** ChatCompletionRedactedThinkingBlock */
|
||||
ChatCompletionRedactedThinkingBlock: {
|
||||
/** Cache Control */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue