Commit graph

2533 commits

Author SHA1 Message Date
Ishaan Jaff
dbdf102a01 feat - add mistral embedding config 2024-06-12 15:00:00 -07:00
Ishaan Jaff
67938564b4 fix - comment on /user/new 2024-06-12 13:16:39 -07:00
Krrish Dholakia
77328e4a28 fix(parallel_request_limiter.py): use redis cache, if available for rate limiting across instances
Fixes https://github.com/BerriAI/litellm/issues/4148
2024-06-12 10:35:48 -07:00
Krrish Dholakia
43e85a3993 fix(proxy/_types.py): support logging k,v pairs to spend logs with spend_logs_metadata param 2024-06-12 08:42:35 -07:00
Ishaan Jaff
206791f166 Merge pull request #4138 from BerriAI/litellm_log_management_endpoint_logs_otel
[FEAT]  log management endpoint logs to otel
2024-06-11 19:00:13 -07:00
Krish Dholakia
30d269f93a Merge pull request #4139 from BerriAI/litellm_fix_budget_exceeded_error_code
fix(proxy_server.py): use consistent 400-status code error code for exceeded budget errors
2024-06-11 18:36:58 -07:00
Ishaan Jaff
c4bed6dfff fix when user_api_key_dict is None 2024-06-11 18:33:15 -07:00
Ishaan Jaff
8c63e6e493 fix linting error 2024-06-11 18:14:06 -07:00
Ishaan Jaff
f9fd962191 fix team endpoints 2024-06-11 18:10:20 -07:00
Ishaan Jaff
5d5d02156a fix - log mgmt data to OTEL 2024-06-11 18:05:10 -07:00
Ishaan Jaff
5f078edc13 fix http_request 2024-06-11 17:57:50 -07:00
Ishaan Jaff
714b4ee59d fix test new team 2024-06-11 17:48:11 -07:00
Krrish Dholakia
85c9ff6783 fix: more bug fixes 2024-06-11 17:41:59 -07:00
Ishaan Jaff
252aeaf4fe fix import error 2024-06-11 17:17:57 -07:00
Ishaan Jaff
4859244e67 feat - otel log /team exceptions 2024-06-11 16:27:07 -07:00
Ishaan Jaff
1b73da1b21 fix refactor management endpoint utils 2024-06-11 16:16:10 -07:00
Krrish Dholakia
2a5a30fa7a fix(proxy_server.py): use consistent 400-status code error code for exceeded budget errors
standardizes error code for budget exceeded errors to status code 400
2024-06-11 16:10:58 -07:00
Ishaan Jaff
9d78e1bd5f feat - log management endpoint logs to otel 2024-06-11 16:09:11 -07:00
Ishaan Jaff
5994ca572c Merge pull request #4133 from BerriAI/litellm_work_with_traceparents
[Feat] OTEL - allow propagating traceparent in headers
2024-06-11 14:27:08 -07:00
Ishaan Jaff
8d3bda27eb doc - OTEL trace propogation 2024-06-11 14:25:33 -07:00
Ishaan Jaff
8ce9c3a2b6 test - propogate trace IDs across services 2024-06-11 14:00:25 -07:00
Ishaan Jaff
2d5904c9a5 feat - use traceparent to proporgate OTEL traces 2024-06-11 13:57:31 -07:00
Krrish Dholakia
c7da20af3f docs(ui.md): add okta sso support to docs 2024-06-11 13:17:41 -07:00
Ishaan Jaff
6c19b76edc fix OTEL semantic conventions does not exist 2024-06-11 12:28:38 -07:00
Ishaan Jaff
a852b13e2c ui - new build 2024-06-10 21:11:33 -07:00
Krish Dholakia
b2cc37c971 Merge pull request #4084 from BerriAI/litellm_batch_add_team_members
fix(proxy_server.py): allow passing in a list of team members
2024-06-10 20:26:35 -07:00
Krrish Dholakia
8b97167961 feat(proxy/_logging.py): support controlling log level when json logs=True
allow user to control log level when json_logs=True
2024-06-10 17:33:43 -07:00
Ishaan Jaff
24a5731b52 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
04e77ca823 feat - viewing spend report per customer / team 2024-06-10 12:58:24 -07:00
Ishaan Jaff
185da8fd61 feat - log exceptions to OTEL 2024-06-10 12:34:18 -07:00
Krrish Dholakia
b0d5b94040 fix(proxy/_types.py): fix validation check 2024-06-08 22:56:56 -07:00
Ishaan Jaff
90f5a801e4 [Feature]: Proxy: Support API-Key 2024-06-08 21:02:47 -07:00
Krish Dholakia
3be558c4bb 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
cdf693a9bf 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
76488c57fc 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
e81511a960 fix schema.prisma 2024-06-08 17:39:04 -07:00
Krrish Dholakia
b26de9b79f fix(proxy_server.py): return updated member list in /team/member_delete 2024-06-08 16:33:07 -07:00
Krrish Dholakia
493f573fc7 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
4252f2368b feat - support litellm_changed_by 2024-06-08 16:02:18 -07:00
Krrish Dholakia
39ee6be477 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
22b51c5af4 fix(litellm_pre_call_utils.py): add support for key level caching params 2024-06-07 22:09:14 -07:00
Ishaan Jaff
ee08277678 ui 0 new build 2024-06-07 19:11:40 -07:00
Ishaan Jaff
eafbd7bc98 proxy - return base url and logout url 2024-06-07 19:01:23 -07:00
Ishaan Jaff
57b70cde53 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
1318483de6 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
92841dfe1b Merge branch 'main' into litellm_security_fix 2024-06-07 16:52:25 -07:00
Ishaan Jaff
c21aedf798 feat - log DB exceptions to OTEL 2024-06-07 16:48:55 -07:00
Ishaan Jaff
03895395a5 fix - cache - true 2024-06-07 16:21:23 -07:00
Ishaan Jaff
a13699647e fix logic for deep copying otel spans / traces 2024-06-07 15:10:05 -07:00
Krrish Dholakia
709ae8286d fix(proxy/utils.py): handle user param being none 2024-06-07 14:35:16 -07:00