mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-04 02:31:27 +00:00
test(utils): allow modality batch cost fields in cost map schema test
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
7761d04450
commit
954dfa6ba7
1 changed files with 6 additions and 0 deletions
|
|
@ -892,7 +892,10 @@ def validate_model_cost_values(model_data, exceptions=None):
|
|||
"input_cost_per_video_per_second_above_8s_interval",
|
||||
"input_cost_per_video_per_second_above_15s_interval",
|
||||
"input_cost_per_video_per_second_above_128k_tokens",
|
||||
"input_cost_per_audio_token_batches",
|
||||
"input_cost_per_image_token_batches",
|
||||
"input_cost_per_token_batches",
|
||||
"input_cost_per_video_token_batches",
|
||||
"output_cost_per_token_batches",
|
||||
"input_cost_per_token_cache_hit",
|
||||
"cache_creation_input_token_cost",
|
||||
|
|
@ -1041,7 +1044,10 @@ def test_aaamodel_prices_and_context_window_json_is_valid():
|
|||
"input_cost_per_second": {"type": "number"},
|
||||
"input_cost_per_token": {"type": "number"},
|
||||
"input_cost_per_token_above_128k_tokens": {"type": "number"},
|
||||
"input_cost_per_audio_token_batches": {"type": "number"},
|
||||
"input_cost_per_image_token_batches": {"type": "number"},
|
||||
"input_cost_per_token_batches": {"type": "number"},
|
||||
"input_cost_per_video_token_batches": {"type": "number"},
|
||||
"input_cost_per_token_cache_hit": {"type": "number"},
|
||||
"input_cost_per_video_per_second": {"type": "number"},
|
||||
"input_cost_per_video_per_second_above_8s_interval": {"type": "number"},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue