From 040f5cb55a9de50ea564ab7be43afc9d9637ca07 Mon Sep 17 00:00:00 2001 From: mateo Date: Sat, 31 Oct 2026 23:56:48 +0000 Subject: [PATCH] chore(openapi): regenerate the lazy snapshot and UI API types for output_text logprobs Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- litellm/proxy/_lazy_openapi_snapshot.json | 87 +++++++++++++++-------- 1 file changed, 59 insertions(+), 28 deletions(-) diff --git a/litellm/proxy/_lazy_openapi_snapshot.json b/litellm/proxy/_lazy_openapi_snapshot.json index 2bbc7f6500a..8428bd644f5 100644 --- a/litellm/proxy/_lazy_openapi_snapshot.json +++ b/litellm/proxy/_lazy_openapi_snapshot.json @@ -26474,13 +26474,16 @@ }, "OutputText": { "additionalProperties": true, - "description": "Text output content from an assistant message", + "type": "object" + }, + "OutputTextLogprob": { + "additionalProperties": true, "properties": { - "annotations": { + "bytes": { "anyOf": [ { "items": { - "$ref": "#/components/schemas/GenericResponseOutputItemContentAnnotation" + "type": "integer" }, "type": "array" }, @@ -26488,37 +26491,65 @@ "type": "null" } ], - "title": "Annotations" + "title": "Bytes" }, - "text": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "title": "Text" + "logprob": { + "title": "Logprob", + "type": "number" }, - "type": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "title": "Type" + "token": { + "title": "Token", + "type": "string" + }, + "top_logprobs": { + "items": { + "$ref": "#/components/schemas/OutputTextTopLogprob" + }, + "title": "Top Logprobs", + "type": "array" } }, "required": [ - "type", - "text", - "annotations" + "token", + "logprob", + "bytes", + "top_logprobs" ], - "title": "OutputText", + "title": "OutputTextLogprob", + "type": "object" + }, + "OutputTextTopLogprob": { + "additionalProperties": true, + "properties": { + "bytes": { + "anyOf": [ + { + "items": { + "type": "integer" + }, + "type": "array" + }, + { + "type": "null" + } + ], + "title": "Bytes" + }, + "logprob": { + "title": "Logprob", + "type": "number" + }, + "token": { + "title": "Token", + "type": "string" + } + }, + "required": [ + "token", + "logprob", + "bytes" + ], + "title": "OutputTextTopLogprob", "type": "object" }, "OutputTokensDetails": {