Krrish Dholakia
|
ecbb3c54c3
|
fix(utils.py): support get_max_tokens() call with same model_name as completion
Closes https://github.com/BerriAI/litellm/issues/3921
|
2024-05-31 21:37:51 -07:00 |
|
Christian Privitelli
|
8b4bc4c832
|
include methods in init import, add test, fix encode/decode param ordering
|
2024-05-02 15:49:22 +10:00 |
|
Chen Wang
|
2567f9a3a6
|
Use max_input_token for trim_messages
|
2024-04-16 13:36:25 +01:00 |
|
Ishaan Jaff
|
c356173d73
|
test groq tool calling
|
2024-04-15 08:41:53 -07:00 |
|
Mikhail Khludnev
|
2686d0368e
|
utils.validate_environment to handle OLLAMA_API_BASE env
|
2024-03-02 13:41:59 +03:00 |
|
ishaan-jaff
|
2ecb649302
|
(test) supports_function_calling
|
2024-02-28 17:51:34 -08:00 |
|
ishaan-jaff
|
86d1aabf22
|
(test) supports_function_calling
|
2024-02-28 17:36:15 -08:00 |
|
ishaan-jaff
|
ac19302d0d
|
(test) stream chunk builder - azure prompt tokens
|
2023-12-29 15:45:41 +05:30 |
|
ishaan-jaff
|
95a98f5463
|
(test) test_token_counter_azure
|
2023-12-29 15:37:46 +05:30 |
|
ishaan-jaff
|
a20331e47a
|
(test) token_counter - prompt tokens == tokens from API
|
2023-12-29 15:15:39 +05:30 |
|
Krrish Dholakia
|
79978c44ba
|
refactor: add black formatting
|
2023-12-25 14:11:20 +05:30 |
|
Krrish Dholakia
|
6556f060f7
|
test: fix flaky test
|
2023-12-01 15:46:39 -08:00 |
|
ishaan-jaff
|
cf244fc5bf
|
(test) token_counter
|
2023-11-13 08:02:46 -08:00 |
|
ishaan-jaff
|
ea2c029c50
|
(test) add test token counter
|
2023-11-13 07:42:08 -08:00 |
|
Duc Pham
|
61f2e37349
|
Reverted error while refactoring
|
2023-11-10 01:35:41 +07:00 |
|
Duc Pham
|
c74e6f8cdd
|
Improved trimming logic and OpenAI token counter
|
2023-11-10 01:26:13 +07:00 |
|
Krrish Dholakia
|
743dda9724
|
fix(init.py): fix linting errors
|
2023-10-24 15:54:21 -07:00 |
|
ishaan-jaff
|
c0f7c7a001
|
(feat) new function_to_dict litellm.util
|
2023-10-14 18:26:15 -07:00 |
|
Krrish Dholakia
|
7f62b5b6e0
|
fix llama index validate environment error
|
2023-09-26 17:53:22 -07:00 |
|
ishaan-jaff
|
7d5f3c48c6
|
bump version + check_valid_key
|
2023-09-12 11:56:04 -07:00 |
|
ishaan-jaff
|
25e97882f0
|
update testing key
|
2023-09-12 11:50:30 -07:00 |
|
ishaan-jaff
|
78c7ad7c68
|
add test_valid_key to utils
|
2023-09-12 11:45:55 -07:00 |
|
ishaan-jaff
|
22fa1f6cd9
|
add test for test_get_valid_models
|
2023-09-12 11:29:18 -07:00 |
|
ishaan-jaff
|
9f1a8844cd
|
rename safe_messages to trim_messages
|
2023-09-11 18:54:18 -07:00 |
|
ishaan-jaff
|
d0984d8c60
|
add safe_message trimmer
|
2023-09-11 17:58:37 -07:00 |
|
ishaan-jaff
|
df80e62566
|
add test cases for token trimmer
|
2023-09-11 17:58:37 -07:00 |
|