mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-28 00:00:38 +00:00
Request headers moved through llms configs, the OCR handler, WireRequest and the auth helpers as a hand-rolled Vec<(String, String)>, with helpers that re-implemented case-insensitive lookup on top of it and converters back to HeaderMap at the edges. They now travel as http::HeaderMap end to end. Header names and values a caller or deployment supplies are parsed when they enter, so an invalid one fails as a typed caller fault (HeaderError, llms InvalidRequest, auth InvalidHeader) instead of surfacing later as a reqwest build error. Pre-call callbacks still see a name -> value dict, now with lowercase names, and an edit that cannot go on the wire raises ValueError. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
46 lines
1.3 KiB
TOML
46 lines
1.3 KiB
TOML
[package]
|
|
name = "litellm-llms"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
|
|
[features]
|
|
test-support = ["litellm-http/test-support"]
|
|
|
|
[dependencies]
|
|
litellm-llms-types.workspace = true
|
|
litellm-core-utils.workspace = true
|
|
litellm-error.workspace = true
|
|
litellm-auth = { workspace = true, features = ["aws", "azure", "gcp"] }
|
|
litellm-auth-aws.workspace = true
|
|
litellm-auth-azure.workspace = true
|
|
litellm-auth-gcp.workspace = true
|
|
litellm-host.workspace = true
|
|
litellm-framer.workspace = true
|
|
litellm-http.workspace = true
|
|
litellm-secrets.workspace = true
|
|
litellm-python-compat.workspace = true
|
|
litellm-router-types.workspace = true
|
|
base64.workspace = true
|
|
bytes.workspace = true
|
|
data-url = "0.3.2"
|
|
futures-util.workspace = true
|
|
http.workspace = true
|
|
reqwest.workspace = true
|
|
serde.workspace = true
|
|
serde_json = { workspace = true, features = ["preserve_order"] }
|
|
serde_path_to_error = "0.1"
|
|
serde_with.workspace = true
|
|
strum.workspace = true
|
|
thiserror.workspace = true
|
|
time.workspace = true
|
|
tokio = { workspace = true, features = ["sync"] }
|
|
url.workspace = true
|
|
|
|
[dev-dependencies]
|
|
litellm-http = { workspace = true, features = ["test-support"] }
|
|
aws-smithy-eventstream = "=0.61.4"
|
|
aws-smithy-types = "1.6.1"
|
|
rstest.workspace = true
|
|
tokio.workspace = true
|