fix(otel v2): drop the redundant _ocr_choices docstring

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
yucheng 2026-09-21 19:42:45 +00:00
parent 1f1b61173d
commit 5a63c932a4

View file

@ -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
)