mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-10 03:28:53 +00:00
test_cost_azure_openai_prompt_caching
This commit is contained in:
parent
662d2498b9
commit
56a9893d14
1 changed files with 3 additions and 1 deletions
|
|
@ -1423,7 +1423,9 @@ def test_cost_azure_openai_prompt_caching():
|
|||
print("_expected_cost2", _expected_cost2)
|
||||
print("cost_2", cost_2)
|
||||
|
||||
assert cost_2 == _expected_cost2
|
||||
assert (
|
||||
abs(cost_2 - _expected_cost2) < 1e-5
|
||||
) # Allow for small floating-point differences
|
||||
|
||||
|
||||
def test_completion_cost_vertex_llama3():
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue