diff --git a/litellm/proxy/_lazy_openapi_snapshot.json b/litellm/proxy/_lazy_openapi_snapshot.json index f0af17ab818..da2c13f0715 100644 --- a/litellm/proxy/_lazy_openapi_snapshot.json +++ b/litellm/proxy/_lazy_openapi_snapshot.json @@ -26572,6 +26572,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": [ { @@ -26624,6 +26631,24 @@ "title": "ChatCompletionReasoningSummaryTextBlock", "type": "object" }, + "ChatCompletionReasoningTextBlock": { + "properties": { + "text": { + "title": "Text", + "type": "string" + }, + "type": { + "const": "reasoning_text", + "title": "Type", + "type": "string" + } + }, + "required": [ + "type" + ], + "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 29435c31aee..e29e94e45b8 100644 --- a/ui/litellm-dashboard/src/lib/http/schema.d.ts +++ b/ui/litellm-dashboard/src/lib/http/schema.d.ts @@ -25084,6 +25084,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 */ @@ -25106,6 +25108,16 @@ export interface components { */ type: "summary_text"; }; + /** ChatCompletionReasoningTextBlock */ + ChatCompletionReasoningTextBlock: { + /** Text */ + text?: string; + /** + * Type + * @constant + */ + type: "reasoning_text"; + }; /** ChatCompletionRedactedThinkingBlock */ ChatCompletionRedactedThinkingBlock: { /** Cache Control */