mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-07 02:59:05 +00:00
Update test_llm_cost_calc_utils.py
This commit is contained in:
parent
65a8730f3a
commit
2b9a66ea15
1 changed files with 2 additions and 2 deletions
|
|
@ -1219,7 +1219,7 @@ def test_unaccounted_pdf_tokens_fill_text_tokens():
|
|||
f"PDF tokens (992 unaccounted) are not being costed."
|
||||
)
|
||||
|
||||
def test_no_prompt_details_all_prompt_tokens_costed():
|
||||
def test_no_prompt_details_all_prompt_tokens_costed():
|
||||
"""
|
||||
Scenario: Provider returns no prompt_tokens_details at all (older API).
|
||||
All prompt_tokens should be costed as text_tokens by default.
|
||||
|
|
@ -1256,7 +1256,7 @@ def test_unaccounted_pdf_tokens_fill_text_tokens():
|
|||
f"Without prompt_tokens_details, all prompt_tokens should be text."
|
||||
)
|
||||
|
||||
def test_fully_accounted_tokens_unchanged():
|
||||
def test_fully_accounted_tokens_unchanged():
|
||||
"""
|
||||
Scenario: All prompt_tokens are fully accounted by detail fields.
|
||||
Provider reports:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue