include methods in init import, add test, fix encode/decode param ordering

This commit is contained in:
Christian Privitelli 2024-05-02 15:49:22 +10:00
parent 3449a5e446
commit 2d43153efa
5 changed files with 19 additions and 5 deletions

View file

@ -20,6 +20,8 @@ from litellm.utils import (
validate_environment,
function_to_dict,
token_counter,
create_pretrained_tokenizer,
create_tokenizer,
)
# Assuming your trim_messages, shorten_message_to_fit_limit, and get_token_count functions are all in a module named 'message_utils'