litellm/litellm-rust
mateo-berri 4bc7b81139 fix(anthropic): drop or reject sampling params under anthropic-version 2026-10-21
anthropic-version 2026-10-21 removed temperature, top_p and top_k, and the
anthropic Python SDK 2.x sends it by default. /v1/messages forwarded them
from the client or from a deployment's litellm_params, so Anthropic, Vertex,
Azure AI Foundry and Bedrock Mantle answered 400 even under drop_params.

Claude routes now read the version their upstream applies. On a dated
version on or after 2026-10-21 the params drop under drop_params, and
without it litellm answers an UnsupportedParamsError naming them before any
upstream call. The Rust gateway applies the same rule in each Claude
provider config. Bedrock invoke always sends bedrock-2023-05-31 and
non-Anthropic providers reusing the Messages shape keep the params.
2026-10-29 09:05:10 -07:00
..
.agents/skills feat(skills): add a litellm-setup agent skill (#47731) 2026-10-28 15:44:43 -07:00
crates fix(anthropic): drop or reject sampling params under anthropic-version 2026-10-21 2026-10-29 09:05:10 -07:00
docs/adrs docs(rust): add ADRs for the Rust core (#45205) 2026-10-08 10:21:56 -07:00
.gitignore feat: add LiteLLM Rust workspace with Mistral OCR bridge (#31033) 2026-06-23 13:16:47 -07:00
AGENTS.md refactor(rust): adopt one error discipline across litellm-rust with source chains and Report (#48042) 2026-10-28 09:22:11 -07:00
Cargo.lock refactor(model-catalog): parse, lower and validate the catalog into typed prices (#48853) 2026-10-28 18:24:40 -07:00
Cargo.toml refactor(model-catalog): parse, lower and validate the catalog into typed prices (#48853) 2026-10-28 18:24:40 -07:00
clippy.toml build(rust): upgrade reqwest to 0.13 and move MCP out of litellm-http (#48039) 2026-10-28 07:32:40 -07:00