From 64355e6da4899ca538ea1a54f5590024b951352f Mon Sep 17 00:00:00 2001 From: Sameer Kankute Date: Wed, 11 Feb 2026 16:55:54 +0530 Subject: [PATCH] Fix test_vertex_ai_partner_models_anthropic_remove_prompt_caching_scope_beta_header --- .../test_vertex_ai_partner_models_anthropic_transformation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_litellm/llms/vertex_ai/vertex_ai_partner_models/anthropic/test_vertex_ai_partner_models_anthropic_transformation.py b/tests/test_litellm/llms/vertex_ai/vertex_ai_partner_models/anthropic/test_vertex_ai_partner_models_anthropic_transformation.py index 4bcafd4c57e..3a49880ff16 100644 --- a/tests/test_litellm/llms/vertex_ai/vertex_ai_partner_models/anthropic/test_vertex_ai_partner_models_anthropic_transformation.py +++ b/tests/test_litellm/llms/vertex_ai/vertex_ai_partner_models/anthropic/test_vertex_ai_partner_models_anthropic_transformation.py @@ -459,7 +459,7 @@ def test_vertex_ai_partner_models_anthropic_remove_prompt_caching_scope_beta_hea assert PROMPT_CACHING_BETA_HEADER not in ( beta_header or "" ), f"{PROMPT_CACHING_BETA_HEADER} should be filtered out" - assert "other-feature" in ( + assert "other-feature" not in ( beta_header or "" ), "Other non-excluded beta headers should remain" assert "web-search-2025-03-05" in (