mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-25 01:02:15 +00:00
test: add issue reference to regression test
This commit is contained in:
parent
0606a57654
commit
ffcd98c481
1 changed files with 1 additions and 0 deletions
|
|
@ -289,6 +289,7 @@ def test_trimming_with_model_cost_max_input_tokens(model):
|
|||
|
||||
def test_shorten_message_content_never_grows():
|
||||
"""Regression test: shorten_message_to_fit_limit must never make content longer."""
|
||||
# Regression: https://github.com/BerriAI/litellm/issues/28128
|
||||
from litellm.utils import shorten_message_to_fit_limit
|
||||
|
||||
content = "hello world this is a moderately long message"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue