From 362ada411d8502c07ac12cd71f111dec8167e48b Mon Sep 17 00:00:00 2001 From: Kolade Fajimi <107228310+koladefaj@users.noreply.github.com> Date: Sat, 17 Oct 2026 23:05:38 +0100 Subject: [PATCH] fix(api): regenerate reasoning content schemas --- litellm/proxy/_lazy_openapi_snapshot.json | 26 +++++++++++++++++++ ui/litellm-dashboard/src/lib/http/schema.d.ts | 14 ++++++++++ 2 files changed, 40 insertions(+) diff --git a/litellm/proxy/_lazy_openapi_snapshot.json b/litellm/proxy/_lazy_openapi_snapshot.json index 7198d74909c..b88e6ff9a90 100644 --- a/litellm/proxy/_lazy_openapi_snapshot.json +++ b/litellm/proxy/_lazy_openapi_snapshot.json @@ -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": { diff --git a/ui/litellm-dashboard/src/lib/http/schema.d.ts b/ui/litellm-dashboard/src/lib/http/schema.d.ts index e5c1b9f2c26..c4af5532426 100644 --- a/ui/litellm-dashboard/src/lib/http/schema.d.ts +++ b/ui/litellm-dashboard/src/lib/http/schema.d.ts @@ -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 */