mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-20 00:11:50 +00:00
Delete litellm/ocr/input.py and the native _ocr_file_document, _ocr_upload_document and _ocr_mime_type helpers. File documents now project to a typed OcrDocumentInput and the core lifecycle reads local paths, encodes bytes and asks the host to read file-like objects through a ReadDocument operation before the provider request Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
38 lines
828 B
TOML
38 lines
828 B
TOML
[package]
|
|
name = "litellm-python-bridge"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
|
|
[lib]
|
|
name = "_native"
|
|
crate-type = ["cdylib"]
|
|
|
|
[features]
|
|
default = ["abi3"]
|
|
abi3 = ["pyo3/abi3-py310"]
|
|
extension-module = ["pyo3/extension-module"]
|
|
panic-test = []
|
|
|
|
[dependencies]
|
|
bytes.workspace = true
|
|
futures-util.workspace = true
|
|
litellm-core.workspace = true
|
|
litellm-auth.workspace = true
|
|
litellm-token-counter.workspace = true
|
|
litellm-python-interop.workspace = true
|
|
pyo3.workspace = true
|
|
pyo3-async-runtimes.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
tokio = { workspace = true, features = ["sync"] }
|
|
|
|
[dev-dependencies]
|
|
criterion.workspace = true
|
|
rstest.workspace = true
|
|
tokio-tungstenite.workspace = true
|
|
|
|
[[bench]]
|
|
name = "serialization"
|
|
harness = false
|