chore(typing): drop the ocr Coroutine annotation now that the base owns that convention

litellm_internal_staging standardized on Coroutine[object, object, T] for the
sync/async dual-mode returns, so ocr/main.py keeps the base's annotation instead
of the Coroutine[None, None, T] this branch had needed for its own handler.
This commit is contained in:
mateo-berri 2026-08-01 17:48:42 +00:00
parent 39d53b0d6b
commit a8b74325e0
No known key found for this signature in database

View file

@ -575,7 +575,7 @@ def ocr(
custom_llm_provider: str | None = None,
extra_headers: dict[str, object] | None = None,
**kwargs: object,
) -> OCRResponse | Coroutine[None, None, OCRResponse]:
) -> OCRResponse | Coroutine[object, object, OCRResponse]:
"""
Synchronous OCR function.