Commit graph

9 commits

Author SHA1 Message Date
Ishaan Jaff
fa1c42378f (Refactor / QA) - Use LoggingCallbackManager to append callbacks and ensure no duplicate callbacks are added (#8112)
* LoggingCallbackManager

* add logging_callback_manager

* use logging_callback_manager

* add add_litellm_failure_callback

* use add_litellm_callback

* use add_litellm_async_success_callback

* add_litellm_async_failure_callback

* linting fix

* fix logging callback manager

* test_duplicate_multiple_loggers_test

* use _reset_all_callbacks

* fix testing with dup callbacks

* test_basic_image_generation

* reset callbacks for tests

* fix check for _add_custom_logger_to_list

* fix test_amazing_sync_embedding

* fix _get_custom_logger_key

* fix batches testing

* fix _reset_all_callbacks

* fix _check_callback_list_size

* add callback_manager_test

* fix test gemini-2.0-flash-thinking-exp-01-21
2025-01-30 19:35:50 -08:00
Krrish Dholakia
bdf166e1d9 test(test_ratelimit.py): fix test to send below rpm 2024-04-30 19:35:21 -07:00
Krrish Dholakia
8d38b3bfc4 fix(router.py): make router async calls coroutine safe
uses pre-call checks to check if a call is below it's rpm limit, works even if multiple async calls are
made simultaneously
2024-04-06 17:31:26 -07:00
CLARKBENHAM
006d0237e4 formating 2024-04-02 19:56:07 -07:00
CLARKBENHAM
80f0878b88 add routing strategy 2024-04-02 17:26:57 -07:00
CLARKBENHAM
2872e43fd8 comments 2024-04-02 17:18:56 -07:00
CLARKBENHAM
fff79b3a37 comments 2024-04-02 17:18:03 -07:00
CLARKBENHAM
d2b6499d6c check if in future None results are returned 2024-04-02 14:49:20 -07:00
CLARKBENHAM
2ee9d795eb test for rate limits 2024-04-02 13:49:13 -07:00