mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-07 02:59:05 +00:00
refactor(ocr): remove unused rust bridge capability
This commit is contained in:
parent
da1882d18f
commit
3b9fc16f6b
2 changed files with 0 additions and 7 deletions
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue