Commit graph

19 commits

Author SHA1 Message Date
ishaan-jaff
73f60b7315 (test) stream chunk builder - azure prompt tokens 2023-12-29 15:45:41 +05:30
ishaan-jaff
b1077ebc38 (test) test_token_counter_azure 2023-12-29 15:37:46 +05:30
ishaan-jaff
4a028d012a (test) token_counter - prompt tokens == tokens from API 2023-12-29 15:15:39 +05:30
Krrish Dholakia
4905929de3 refactor: add black formatting 2023-12-25 14:11:20 +05:30
Krrish Dholakia
2c1103247d test: fix flaky test 2023-12-01 15:46:39 -08:00
ishaan-jaff
7a3607e00c (test) token_counter 2023-11-13 08:02:46 -08:00
ishaan-jaff
e5ec4a92fe (test) add test token counter 2023-11-13 07:42:08 -08:00
Duc Pham
eeac3954d5 Reverted error while refactoring 2023-11-10 01:35:41 +07:00
Duc Pham
07e8cf1d9a Improved trimming logic and OpenAI token counter 2023-11-10 01:26:13 +07:00
Krrish Dholakia
f967d6af5e fix(init.py): fix linting errors 2023-10-24 15:54:21 -07:00
ishaan-jaff
7848f1b5b7 (feat) new function_to_dict litellm.util 2023-10-14 18:26:15 -07:00
Krrish Dholakia
076affbff2 fix llama index validate environment error 2023-09-26 17:53:22 -07:00
ishaan-jaff
e6d48d91ce bump version + check_valid_key 2023-09-12 11:56:04 -07:00
ishaan-jaff
33f0da2d69 update testing key 2023-09-12 11:50:30 -07:00
ishaan-jaff
ff36b9c6da add test_valid_key to utils 2023-09-12 11:45:55 -07:00
ishaan-jaff
a48cb49820 add test for test_get_valid_models 2023-09-12 11:29:18 -07:00
ishaan-jaff
dda87a55ff rename safe_messages to trim_messages 2023-09-11 18:54:18 -07:00
ishaan-jaff
be5a92c40a add safe_message trimmer 2023-09-11 17:58:37 -07:00
ishaan-jaff
bcb89dcf4a add test cases for token trimmer 2023-09-11 17:58:37 -07:00