mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-30 01:08:33 +00:00
Some checks failed
Cost map pins recheck / rerun-cost-map-guard (push) Has been cancelled
LiteLLM Rust DB / db-queries (push) Has been cancelled
LiteLLM Rust / rust-lint (push) Has been cancelled
LiteLLM Rust / rust-test (push) Has been cancelled
LiteLLM Rust / rust-wheel (push) Has been cancelled
Terraform Modules / fmt, validate, test (aws) (push) Has been cancelled
Terraform Modules / fmt, validate, test (gcp) (push) Has been cancelled
NativeRedisClient resolves a RedisCache's redis_kwargs through the RedisCache kwargs surface and hands every native store in the process one shared client, breaker and ServiceLogging event sink. A setting Rust ignores is logged with its consequence, and a config it cannot use leaves the stores on memory NativeRequestRedis carries one request's pre-call and post-call batches from RequestRedisBatches into the stores. The keyspaces that use these land in the PRs above RedisSpec carries RedisCache.redis_kwargs into the resolver as plain values plus the names of keys whose value is a Python object, instead of replacing each object with its type name. ConfiguredRedis::with_host_objects takes those names, so the resolver reports them in Resolution::host_objects, warns for the ones Rust cannot honor and lets each hide its REDIS_* value. A credential_provider object without a ProviderHandle fails with ProviderWithoutHandle, so the stores stay on memory instead of connecting without auth Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
87 lines
2.7 KiB
TOML
87 lines
2.7 KiB
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", "fast", "huggingface", "tiktoken"]
|
|
abi3 = ["pyo3/abi3-py310"]
|
|
extension-module = ["pyo3/extension-module"]
|
|
panic-test = []
|
|
fast = ["litellm-token-counter/fast"]
|
|
huggingface = ["litellm-token-counter/huggingface"]
|
|
tiktoken = ["litellm-token-counter/tiktoken"]
|
|
|
|
[dependencies]
|
|
litellm-secret-value.workspace = true
|
|
fancy-regex.workspace = true
|
|
litellm-tracing.workspace = true
|
|
litellm-spend-clickhouse.workspace = true
|
|
litellm-storage-clickhouse.workspace = true
|
|
litellm-host.workspace = true
|
|
bytes.workspace = true
|
|
futures-util.workspace = true
|
|
litellm-cache.workspace = true
|
|
litellm-error.workspace = true
|
|
litellm-circuit-breaker.workspace = true
|
|
litellm-redis-client.workspace = true
|
|
litellm-redis-connect.workspace = true
|
|
litellm-redis-store.workspace = true
|
|
litellm-redis-resolve.workspace = true
|
|
litellm-redis-types.workspace = true
|
|
tracing.workspace = true
|
|
litellm-cache-response.workspace = true
|
|
serde.workspace = true
|
|
litellm-auth.workspace = true
|
|
litellm-auth-aws.workspace = true
|
|
litellm-callbacks-legacy-python.workspace = true
|
|
litellm-inference.workspace = true
|
|
litellm-inference-transcription.workspace = true
|
|
litellm-inference-responses.workspace = true
|
|
litellm-inference-messages.workspace = true
|
|
litellm-inference-chat.workspace = true
|
|
litellm-inference-ocr.workspace = true
|
|
litellm-core-utils.workspace = true
|
|
litellm-http.workspace = true
|
|
litellm-llms.workspace = true
|
|
litellm-secrets = { workspace = true, features = ["aws", "azure", "google", "hashicorp", "cyberark"] }
|
|
litellm-secrets-types.workspace = true
|
|
litellm-llms-types.workspace = true
|
|
litellm-router-types.workspace = true
|
|
litellm-host-python.workspace = true
|
|
litellm-model-catalog.workspace = true
|
|
litellm-token-counter = { path = "../token-counter", default-features = false }
|
|
pyo3.workspace = true
|
|
prost.workspace = true
|
|
pyo3-async-runtimes.workspace = true
|
|
reqwest.workspace = true
|
|
serde_json.workspace = true
|
|
strum.workspace = true
|
|
veil.workspace = true
|
|
thiserror.workspace = true
|
|
tokio = { workspace = true, features = ["rt", "sync"] }
|
|
|
|
[dev-dependencies]
|
|
tracing.workspace = true
|
|
litellm-http = { workspace = true, features = ["test-support"] }
|
|
litellm-secrets-aws.workspace = true
|
|
serde.workspace = true
|
|
serde_with.workspace = true
|
|
criterion.workspace = true
|
|
futures-util.workspace = true
|
|
rstest.workspace = true
|
|
sqlx = { workspace = true, features = ["migrate"] }
|
|
tempfile.workspace = true
|
|
tokio-tungstenite.workspace = true
|
|
wiremock.workspace = true
|
|
aws-sdk-secretsmanager = "1.117.0"
|
|
|
|
[[bench]]
|
|
name = "serialization"
|
|
harness = false
|