fix(tests): add inference_geo to model prices JSON schema

The model_prices_and_context_window_backup.json file has 'inference_geo'
fields (e.g. on 'us/claude-sonnet-4-6') for geo-prefixed Anthropic models
used in cost calculation, but the JSON schema validator in test_utils.py
did not include 'inference_geo' as an allowed property.

This caused test_aaamodel_prices_and_context_window_json_is_valid to fail
with: Additional properties are not allowed ('inference_geo' was unexpected)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Julio Quinteros Pro
2026-02-18 11:29:31 -03:00
co-authored by Claude Sonnet 4.6
parent 65a79d5ed9
commit d4755c8284
+1
View File
@@ -580,6 +580,7 @@ def test_aaamodel_prices_and_context_window_json_is_valid():
"annotation_cost_per_page": {"type": "number"},
"ocr_cost_per_page": {"type": "number"},
"code_interpreter_cost_per_session": {"type": "number"},
"inference_geo": {"type": "string"},
"litellm_provider": {"type": "string"},
"max_audio_length_hours": {"type": "number"},
"max_audio_per_prompt": {"type": "number"},