test(model_prices): allow audio_transcription_config in schema (#28708)

The schema in test_aaamodel_prices_and_context_window_json_is_valid uses
additionalProperties: false. The azure/speech/azure-stt entry added in
#27482 introduced an audio_transcription_config field that the schema
did not whitelist, so the test fails on every branch built on top of
staging.

Add the field as a string property.
This commit is contained in:
yuneng-jiang 2026-05-23 16:19:43 -07:00 committed by GitHub
parent 7c667b8797
commit 3bcfe41f05
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -706,6 +706,7 @@ def test_aaamodel_prices_and_context_window_json_is_valid():
"cache_read_input_audio_token_cost": {"type": "number"},
"cache_read_input_token_cost_per_audio_token": {"type": "number"},
"cache_read_input_image_token_cost": {"type": "number"},
"audio_transcription_config": {"type": "string"},
"deprecation_date": {"type": "string"},
"input_cost_per_audio_per_second": {"type": "number"},
"input_cost_per_audio_per_second_above_128k_tokens": {"type": "number"},