From fffd925e58fe56e193b70844b5e741ecee3cf950 Mon Sep 17 00:00:00 2001 From: Himanshupdt09 Date: Wed, 25 Mar 2026 22:54:01 +0530 Subject: [PATCH] added --- .../llm_cost_calc/test_llm_cost_calc_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_litellm/litellm_core_utils/llm_cost_calc/test_llm_cost_calc_utils.py b/tests/test_litellm/litellm_core_utils/llm_cost_calc/test_llm_cost_calc_utils.py index e907e92e665..971982eea89 100644 --- a/tests/test_litellm/litellm_core_utils/llm_cost_calc/test_llm_cost_calc_utils.py +++ b/tests/test_litellm/litellm_core_utils/llm_cost_calc/test_llm_cost_calc_utils.py @@ -529,7 +529,7 @@ def test_string_cost_values_edge_cases(): # Prompt: 1000 * 1e-6 + 100 * 0 (invalid string becomes 0) # Completion: 500 * 2e-6 + 50 * 2e-6 (audio tokens fall back to base cost when output_cost_per_audio_token is None) expected_prompt_cost = 1000 * 1e-6 - expected_completion_cost = 500 * 2e-6 + 50 * 2e-6 + expected_completion_cost = 450 * 2e-6 + 50 * 2e-6 assert round(prompt_cost, 12) == round(expected_prompt_cost, 12) assert round(completion_cost, 12) == round(expected_completion_cost, 12)