mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-07 02:59:05 +00:00
(fix): token_count calculation during inline data sent during multimodal inputs
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
parent
144fc20358
commit
ef7acd73be
1 changed files with 1 additions and 0 deletions
|
|
@ -1435,6 +1435,7 @@ def test_image_count_billing_does_not_fill_prompt_token_gap():
|
|||
)
|
||||
assert completion_cost == pytest.approx(expected_completion_cost)
|
||||
|
||||
|
||||
def test_character_count_billing_does_not_fill_prompt_token_gap():
|
||||
"""
|
||||
Regression: when character_count pricing is active, gaps between
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue