Commit graph

2608 commits

Author SHA1 Message Date
Krrish Dholakia
8f140cb5ee fix(utils.py): make sure redis caching works with aws kms encryption 2024-06-10 16:42:19 -07:00
Krrish Dholakia
e4dbb9b2db fix(proxy_cli.py): support passing the database url as an encrypted kms key 2024-06-10 15:48:27 -07:00
Ishaan Jaff
c98739284d
Merge pull request #4103 from BerriAI/litellm_log_auth_exceptions_to_otel
feat - log Proxy Server auth errors on OTEL
2024-06-10 14:10:02 -07:00
Ishaan Jaff
f00fa12e69 feat - viewing spend report per customer / team 2024-06-10 12:58:24 -07:00
Ishaan Jaff
a27f7e2817 feat - log exceptions to OTEL 2024-06-10 12:34:18 -07:00
Krrish Dholakia
d066e0e152 fix(proxy/_types.py): fix validation check 2024-06-08 22:56:56 -07:00
Ishaan Jaff
8de7074614 [Feature]: Proxy: Support API-Key 2024-06-08 21:02:47 -07:00
Krish Dholakia
b4fc4abb76
Merge pull request #4080 from BerriAI/litellm_predibase_exception_mapping
fix(utils.py): improved predibase exception mapping
2024-06-08 20:27:44 -07:00
Krrish Dholakia
def648ed3f fix(proxy_server.py): allow passing in a list of team members
allows batch adding members to a team by passing in a list. fixes concurrency issue caused by calling team/member_add in parallel
2024-06-08 19:03:45 -07:00
Ishaan Jaff
95eb762cc7
Merge pull request #4083 from BerriAI/litellm_act_on_behalf
[Feat] Enterprise - Attribute Management changes to Users in Audit Logs
2024-06-08 17:39:16 -07:00
Ishaan Jaff
ae8889f4fa fix schema.prisma 2024-06-08 17:39:04 -07:00
Krrish Dholakia
dddd4a73fe fix(proxy_server.py): return updated member list in /team/member_delete 2024-06-08 16:33:07 -07:00
Krrish Dholakia
5c4abcbdb4 fix(proxy_server.py): fix team member delete endpoint
fixes issue in for loop, removing member from team
2024-06-08 16:27:33 -07:00
Ishaan Jaff
9c3c42fa4b feat - support litellm_changed_by 2024-06-08 16:02:18 -07:00
Krrish Dholakia
1dafb1b3b7 fix(utils.py): improved predibase exception mapping
adds unit testing + better coverage for predibase errors
2024-06-08 14:32:43 -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
e749fdd730 ui 0 new build 2024-06-07 19:11:40 -07:00
Ishaan Jaff
c0d8c13976 proxy - return base url and logout url 2024-06-07 19:01:23 -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
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
3f59ee200a fix - cache - true 2024-06-07 16:21:23 -07:00
Ishaan Jaff
15c0d334e8 fix logic for deep copying otel spans / traces 2024-06-07 15:10:05 -07:00
Krrish Dholakia
51fb199329 fix(proxy/utils.py): handle user param being none 2024-06-07 14:35:16 -07:00
Ishaan Jaff
8501494072 fix - use safe_deep copy from litellm 2024-06-07 14:11:55 -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
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
42df97db3c fix importing litellm 2024-06-07 12:50:50 -07:00
Ishaan Jaff
d2857fc24c
Merge branch 'main' into litellm_redact_messages_slack_alerting 2024-06-07 12:43:53 -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
Ishaan Jaff
9a5e63d3e8 fix import Span 2024-06-07 10:00:33 -07:00
Ishaan Jaff
87533bacf7 fix importing Span 2024-06-07 09:55:59 -07:00
Ishaan Jaff
de9f10195f fix import Span 2024-06-07 09:38:37 -07:00
Ishaan Jaff
c7dda09773 fix - include litellm_parent_otel_span 2024-06-07 09:25:07 -07:00
Ishaan Jaff
7b1047bd1f
Merge pull request #4043 from BerriAI/litellm_enforce_params
[Feat] Enterprise - Enforce Params in request to LiteLLM Proxy
2024-06-07 08:52:46 -07:00
Ishaan Jaff
c7545be275 feat - use safe safe_deep_copy 2024-06-07 08:49:47 -07:00
Krish Dholakia
f6a262122b
Merge pull request #4054 from BerriAI/litellm_aws_kms_support
feat(aws_secret_manager.py): Support AWS KMS for Master Key encrption
2024-06-07 08:49:25 -07:00
Ishaan Jaff
737f8aa61b feat - add parent_otel_span to UserAPIKeyAuth 2024-06-07 08:25:26 -07:00
Krrish Dholakia
0c95019ac1 fix(aws_secret_manager.py): fix boto import 2024-06-07 08:02:58 -07:00
Ishaan Jaff
78a6604295 fix open_telemetry_logger 2024-06-06 22:30:49 -07:00
Ishaan Jaff
37e7a7b2d5 fix - log_to_opentelemetry 2024-06-06 22:28:01 -07:00
Ishaan Jaff
32655b9ef2 fix auth checks 2024-06-06 22:13:13 -07:00
Ishaan Jaff
b734cca43e fix service logger for OTEL 2024-06-06 22:12:45 -07:00
Ishaan Jaff
a3e6d557b2 add _to_ns to utils 2024-06-06 21:30:55 -07:00
Ishaan Jaff
fcb1427a8c fix log_to_opentelemetry 2024-06-06 21:29:40 -07:00
Ishaan Jaff
b551462518 feat -v0 parent_otel_span in basic db reads 2024-06-06 19:49:18 -07:00