mirror of
https://github.com/tiennm99/litellm.git
synced 2026-06-27 09:10:03 +00:00
test(test_completion_cost.py): fix test
This commit is contained in:
@@ -162,7 +162,11 @@ def test_cost_azure_embedding():
|
||||
|
||||
def test_cost_openai_image_gen():
|
||||
cost = litellm.completion_cost(
|
||||
model="dall-e-2", size="1024-x-1024", quality="standard", n=1
|
||||
model="dall-e-2",
|
||||
size="1024-x-1024",
|
||||
quality="standard",
|
||||
n=1,
|
||||
call_type="image_generation",
|
||||
)
|
||||
assert cost == 0.019922944
|
||||
|
||||
|
||||
Reference in New Issue
Block a user