refactor(ocr): remove unused rust bridge capability

This commit is contained in:
Yujong Lee 2026-09-12 07:29:42 -07:00
parent da1882d18f
commit 3b9fc16f6b
2 changed files with 0 additions and 7 deletions

View file

@ -144,10 +144,6 @@ class BaseOCRConfig:
"""
return None
def supports_rust_bridge(self) -> bool:
"""Whether the Rust OCR bridge may serve this config when it is enabled for the provider."""
return True
def get_health_check_document(self) -> DocumentType:
return { # mutable-ok: litellm.aocr rejects any document that is not a dict
"type": "document_url",

View file

@ -144,9 +144,6 @@ class CohereParseConfig(BaseOCRConfig):
def get_api_key_env_var(self) -> str | None:
return COHERE_API_KEY_ENV_VAR
def supports_rust_bridge(self) -> bool:
return False
def get_health_check_document(self) -> DocumentType:
return { # mutable-ok: litellm.aocr rejects any document that is not a dict
"type": "image_url",