Commit Graph

12839 Commits

Author SHA1 Message Date
Krrish Dholakia af39e2d2dd bump: version 1.40.6 → 1.40.7 2024-06-07 22:19:45 -07:00
Krrish Dholakia af1ae80277 fix(litellm_pre_call_utils.py): add support for key level caching params 2024-06-07 22:09:14 -07:00
Ishaan Jaff c5a611ca91 (ci/cd) run again v1.40.6 2024-06-07 19:12:04 -07:00
Ishaan Jaff e749fdd730 ui 0 new build 2024-06-07 19:11:40 -07:00
Ishaan Jaff 3ecc077507 fix mock_completion 2024-06-07 19:10:05 -07:00
Ishaan Jaff 47538135cf Merge pull request #4072 from BerriAI/litellm_allow_custom_logout_url
[Fix] UI - Allow custom logout url and show proxy base url on API Ref Page
2024-06-07 19:08:03 -07:00
Ishaan Jaff c0d8c13976 proxy - return base url and logout url 2024-06-07 19:01:23 -07:00
Ishaan Jaff fad063df6e ui -set custom base url and logout url 2024-06-07 19:00:09 -07:00
Ishaan Jaff 366fc5e40b fix - vertex ai exception mapping 2024-06-07 18:16:26 -07:00
Ishaan Jaff 761df07089 bump: version 1.40.5 → 1.40.6 2024-06-07 17:33:13 -07:00
Ishaan Jaff e1f722b83b linting fix 2024-06-07 17:23:05 -07:00
Ishaan Jaff d5e97861ee fix vertex ai exceptions 2024-06-07 17:13:32 -07:00
Ishaan Jaff a4589e33dd Merge pull request #4071 from BerriAI/litellm_log_db_exceptions_otel
[FEAT] OTEL - LOG DB Exceptions
2024-06-07 17:13:20 -07:00
Ishaan Jaff 6563490844 Merge pull request #4070 from BerriAI/litellm_log_caching_otel
[FEAT] OTEL - Log Redis Cache Read / Writes
2024-06-07 17:12:55 -07:00
Ishaan Jaff f69c2591b2 fix - redacted by litellm test 2024-06-07 17:02:21 -07:00
Ishaan Jaff 40cc5dc95b Merge pull request #4068 from BerriAI/litellm_security_fix
Raw request debug logs - security fix
2024-06-07 16:52:31 -07:00
Ishaan Jaff 718b547646 Merge branch 'main' into litellm_security_fix 2024-06-07 16:52:25 -07:00
Ishaan Jaff ac722d02ce feat - log DB exceptions to OTEL 2024-06-07 16:48:55 -07:00
Ishaan Jaff f152b5eb1d feat - final working redis cache otel 2024-06-07 16:36:04 -07:00
Ishaan Jaff 5a5dd33b24 feat - working exception logs for Redis errors 2024-06-07 16:30:29 -07:00
Ishaan Jaff 3f59ee200a fix - cache - true 2024-06-07 16:21:23 -07:00
Ishaan Jaff e86fa19257 fix - basic success logging for redis cache 2024-06-07 16:20:23 -07:00
Krrish Dholakia beddb58852 test(test_custom_callback_input.py): fix custom callback input test 2024-06-07 16:13:30 -07:00
Krrish Dholakia 5c46b386d0 fix(utils.py): fix vertex ai exception mapping 2024-06-07 16:06:31 -07:00
Krrish Dholakia f73b6033fd fix(test_custom_callbacks_input.py): unit tests for 'turn_off_message_logging'
ensure no raw request is logged either
2024-06-07 15:39:15 -07:00
Ishaan Jaff ea790c1d47 Merge pull request #4067 from BerriAI/litellm_otel_log_proxy_exceptions
[Feat] OTEL -  Log Exceptions from Proxy Server
2024-06-07 15:11:34 -07:00
Ishaan Jaff 15c0d334e8 fix logic for deep copying otel spans / traces 2024-06-07 15:10:05 -07:00
Ishaan Jaff 1915cd326c v0 - log proxy server exceptions on OTEL 2024-06-07 14:48:16 -07:00
Krrish Dholakia d16bf261a1 fix(bedrock_httpx.py): fix post call success logging 2024-06-07 14:47:01 -07:00
Krrish Dholakia 51fb199329 fix(proxy/utils.py): handle user param being none 2024-06-07 14:35:16 -07:00
Ishaan Jaff 5a2a8bdea2 use MappingProxyType for now. will fix python 3.8 install later 2024-06-07 14:31:31 -07:00
Ishaan Jaff 8c8413131c fix type error on python 3.8 2024-06-07 14:23:06 -07:00
Ishaan Jaff 8501494072 fix - use safe_deep copy from litellm 2024-06-07 14:11:55 -07:00
Ishaan Jaff 7dcf8fc67e fix test litellm_parent_otel_span 2024-06-07 14:07:58 -07:00
Ishaan Jaff d9dacc1f43 Merge pull request #4065 from BerriAI/litellm_use_common_func
[Refactor] - Refactor proxy_server.py to use common function for `add_litellm_data_to_request`
2024-06-07 14:02:17 -07:00
Ishaan Jaff 5b1b65d703 Merge pull request #4058 from BerriAI/litellm_svc_logger
[Feat] OTEL - Instrument DB Reads
2024-06-07 14:02:01 -07:00
Ishaan Jaff 2cf3133669 Merge branch 'main' into litellm_svc_logger 2024-06-07 14:01:54 -07:00
Ishaan Jaff 7ef7bc8a9a fix simplify - pass litellm_parent_otel_span 2024-06-07 13:48:21 -07:00
Krrish Dholakia b41d7f5d51 fix(proxy/utils.py): security fix
use typed dict for spendlogs payload. assert no sensitive information logged.
2024-06-07 13:44:11 -07:00
Ishaan Jaff 2287f383a1 test fix 2024-06-07 13:31:18 -07:00
Krish Dholakia 97689ea02f Merge pull request #4055 from UsableMachines/additional-gemini-types
Fix to support all file types supported by Gemini
2024-06-07 13:24:06 -07:00
Ishaan Jaff 630bc803e2 fix proxy server test 2024-06-07 12:54:39 -07:00
Ishaan Jaff 42df97db3c fix importing litellm 2024-06-07 12:50:50 -07:00
Ishaan Jaff 787c61b020 Merge pull request #4047 from BerriAI/litellm_redact_messages_slack_alerting
[Fix]- Allow redacting `messages` from slack alerting
2024-06-07 12:44:11 -07:00
Ishaan Jaff d2857fc24c Merge branch 'main' into litellm_redact_messages_slack_alerting 2024-06-07 12:43:53 -07:00
Ishaan Jaff a3251a4b07 Merge pull request #3925 from mikeslattery/main
feature - Types for mypy - issue #360
2024-06-07 12:42:43 -07:00
Ishaan Jaff b5162438c6 fix - refactor proxy server to use common func 2024-06-07 12:38:38 -07:00
Ishaan Jaff 58eb352ddb feat - refactor /chat/completions to have a common helper 2024-06-07 12:18:53 -07:00
Krish Dholakia 6b703f0ebf Merge pull request #4033 from BerriAI/litellm_bedrock_converse_api
feat(bedrock_httpx.py): add support for bedrock converse api
2024-06-07 12:08:10 -07:00
Krrish Dholakia 7d2230bd7f test(test_prompt_factory.py): cleanup test 2024-06-07 12:07:15 -07:00