From 7697518faec202481933aeec9accc22a5ae0567f Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 22 May 2026 17:07:07 +0000 Subject: [PATCH] test(model-cost-schema): declare regional_processing_uplift_multiplier_* fields The schema validation in test_aaamodel_prices_and_context_window_json_is_valid runs with additionalProperties=False, so the new regional_processing_uplift_multiplier_eu / _us fields on gpt-5, gpt-5-mini, gpt-5-nano, gpt-5-pro, gpt-4.1 family, and gpt-4o family entries must be declared in the test schema. https://claude.ai/code/session_012ebH44s7ohYxjoix5CXzTW --- tests/test_litellm/test_utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_litellm/test_utils.py b/tests/test_litellm/test_utils.py index de286aede93..14f73ea2eb6 100644 --- a/tests/test_litellm/test_utils.py +++ b/tests/test_litellm/test_utils.py @@ -732,6 +732,8 @@ def test_aaamodel_prices_and_context_window_json_is_valid(): "input_cost_per_token_above_200k_tokens_priority": {"type": "number"}, "input_cost_per_token_above_272k_tokens_priority": {"type": "number"}, "input_cost_per_audio_token_priority": {"type": "number"}, + "regional_processing_uplift_multiplier_eu": {"type": "number"}, + "regional_processing_uplift_multiplier_us": {"type": "number"}, "output_cost_per_token_flex": {"type": "number"}, "output_cost_per_token_priority": {"type": "number"}, "output_cost_per_token_above_200k_tokens_priority": {"type": "number"},