mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-06 08:16:43 +00:00
fix: use local model cost map in Azure cost calculation test
This commit is contained in:
parent
51b229156e
commit
93ae0474ce
1 changed files with 2 additions and 0 deletions
|
|
@ -273,6 +273,8 @@ class TestGPTImage15OutputImageTokens:
|
|||
"""
|
||||
Test that output tokens are correctly calculated in cost calculation for Azure.
|
||||
"""
|
||||
# Set environment variable to use local model cost map
|
||||
os.environ["LITELLM_LOCAL_MODEL_COST_MAP"] = "True"
|
||||
# Simulate gpt-image-1.5 response with output_tokens_details
|
||||
usage = Usage(
|
||||
prompt_tokens=200,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue