mirror of
https://github.com/BerriAI/litellm.git
synced 2026-12-02 01:28:38 +00:00
#41203 registered thinking-binding-controls-2026-08-01 for bedrock and bedrock_converse, which is right for the Claude models that implement it and was proven against real Bedrock, Vertex AI and first-party Anthropic before merge. test_bedrock_invoke_messages_with_all_beta_headers builds its anthropic-beta list from the same config file and sends every non-null value at bedrock-claude-opus-4.5 and bedrock-converse-claude-sonnet-4.5. Neither implements that beta, so Bedrock answers 400 invalid beta flag and both parameters went red on main. The premise that every beta a provider maps is safe on one fixed model only holds while no registered beta is model-scoped. Let a case name the betas its model does not implement, and guard the map against naming a model the suite never runs or emptying the header list it sends. |
||
|---|---|---|
| .. | ||
| test_all_beta_headers.py | ||
| test_claude_agent_sdk.py | ||
| test_config.yaml | ||