litellm/litellm-rust/crates/llms/Cargo.toml
narmstrong-berry b66a8015b5
feat(rust): shape native OpenAI responses requests like Python
The OpenAI Responses transformation now raises max_output_tokens to the
minimum of 16, strips Anthropic cache_control marks, decodes tool
parameters sent as JSON strings and drops null fields from replayed
reasoning items. Against OpenAI it also drops reasoning LiteLLM minted
while bridging another provider and tool-call item ids OpenAI did not
issue. Rewrites that read the model cost map or Python's regex engine
(GPT-5 sampling rules, tool schema repair, prompt cache breakpoints)
decline to the Python route
2026-10-15 17:28:09 +00:00

45 lines
1.2 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]
uuid.workspace = true
litellm-llms-types.workspace = true
litellm-core-utils.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
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