litellm/tests/proxy_e2e_anthropic_messages_tests
Yuneng Jiang 28605ad90c
test(e2e): stop sending model-scoped anthropic betas at models without them
#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.
2026-09-18 21:36:36 -07:00
..
test_all_beta_headers.py test(e2e): stop sending model-scoped anthropic betas at models without them 2026-09-18 21:36:36 -07:00
test_claude_agent_sdk.py ci: lint the test tree for undefined names and fix all 30 (#37671) 2026-08-20 13:30:34 -07:00
test_config.yaml Extend the record/replay proxy to chat, embeddings, moderations, rerank, and Anthropic (#29847) 2026-06-06 14:33:42 -07:00