mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-21 00:21:49 +00:00
Settings sources beyond HTTP (media fetch, Azure Document Intelligence, Vertex, timeouts) need the same env lookup and precedence merge, so move them out of litellm-http into core_utils::settings. Lookup readers name the Python idiom they mirror: get keeps a present empty value like os.getenv(X, fallback), truthy drops it like an `or` chain, enabled only switches on for "true". SSL_CERT_FILE now reads through truthy, matching Python's `if ssl_cert_file and ...` check. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
43 lines
1,005 B
TOML
43 lines
1,005 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
|
|
litellm-auth.workspace = true
|
|
litellm-callbacks-legacy.workspace = true
|
|
litellm-core.workspace = true
|
|
litellm-core-utils.workspace = true
|
|
litellm-auth-gcp.workspace = true
|
|
litellm-http.workspace = true
|
|
litellm-llms.workspace = true
|
|
litellm-types.workspace = true
|
|
litellm-host-python.workspace = true
|
|
litellm-token-counter.workspace = true
|
|
pyo3.workspace = true
|
|
pyo3-async-runtimes.workspace = true
|
|
serde_json.workspace = true
|
|
tokio = { workspace = true, features = ["sync"] }
|
|
|
|
[dev-dependencies]
|
|
criterion.workspace = true
|
|
futures-util.workspace = true
|
|
rstest.workspace = true
|
|
tokio-tungstenite.workspace = true
|
|
|
|
[[bench]]
|
|
name = "serialization"
|
|
harness = false
|