mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-24 00:52:24 +00:00
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:
parent
1f1b61173d
commit
5a63c932a4
1 changed files with 0 additions and 1 deletions
|
|
@ -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
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue