From 5a63c932a4fa36dbd29899411dea89925c5ea0bd Mon Sep 17 00:00:00 2001 From: yucheng Date: Mon, 21 Sep 2026 19:42:45 +0000 Subject: [PATCH] fix(otel v2): drop the redundant _ocr_choices docstring Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- litellm/integrations/otel/model/payloads.py | 1 - 1 file changed, 1 deletion(-) diff --git a/litellm/integrations/otel/model/payloads.py b/litellm/integrations/otel/model/payloads.py index 3164e0977b7..d3ad7234d93 100644 --- a/litellm/integrations/otel/model/payloads.py +++ b/litellm/integrations/otel/model/payloads.py @@ -753,7 +753,6 @@ def _responses_choices(response: Mapping[str, object]) -> tuple[_Choice, ...]: def _ocr_choices(response: Mapping[str, object]) -> tuple[_Choice, ...]: - """An ``OCRResponse`` ``pages`` list folded into one chat-shaped assistant choice.""" markdowns: Final = tuple( text for page in _dicts(response.get("pages")) if (text := as_str(page.get("markdown"))) is not None )