mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-24 22:09:56 +00:00
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. |
||
|---|---|---|
| .. | ||
| .agents/skills | ||
| crates | ||
| docs/adrs | ||
| .gitignore | ||
| AGENTS.md | ||
| Cargo.lock | ||
| Cargo.toml | ||
| clippy.toml | ||