Commit graph

2608 commits

Author SHA1 Message Date
Krrish Dholakia
a2da2a8f16 feat(aws_secret_manager.py): allows user to keep a hash of the proxy master key in their env 2024-06-06 15:32:51 -07:00
Krrish Dholakia
7ddca8d834 fix(proxy_server.py): fix backoff attempt logging
make sure backoff uses our logging handler to log info to
2024-06-06 14:08:31 -07:00
Krrish Dholakia
6cca5612d2 refactor: replace 'traceback.print_exc()' with logging library
allows error logs to be in json format for otel logging
2024-06-06 13:47:43 -07:00
Ishaan Jaff
1e8429bb20 feat - redact messages from slack alerting 2024-06-06 10:38:15 -07:00
Ishaan Jaff
aaf35c7966 feat - enforce enforced_params as a premium feature 2024-06-06 09:03:31 -07:00
Ishaan Jaff
d827557b82 feat - add enforced params 2024-06-06 08:55:40 -07:00
Ishaan Jaff
883ee08225 feat - enforce params in requests 2024-06-06 08:54:59 -07:00
Ishaan Jaff
8e8509d848
Merge pull request #4030 from BerriAI/litellm_audit_logs_premium
[Feat] Audit Logs for Key, User, ProxyModel CRUD operations
2024-06-05 19:36:35 -07:00
Ishaan Jaff
9e45619f33
Merge pull request #4027 from BerriAI/litellm_fix_redirecting_base_url_set
[FIX] Proxy redirect to `PROXY_BASE_URL/ui` after logging in
2024-06-05 19:19:55 -07:00
Ishaan Jaff
9d5ac193af feat - add audit logs for key create, update delete 2024-06-05 18:59:34 -07:00
Ishaan Jaff
7e89b242ba fix /team/new 2024-06-05 18:34:20 -07:00
Ishaan Jaff
5bd658493f feat - working audit logs for create, update delete team 2024-06-05 17:50:27 -07:00
Krrish Dholakia
0d3e52373c fix(proxy/_logging.py): fix default logging level 2024-06-05 17:42:49 -07:00
Krrish Dholakia
71c6065d98 docs(self_serve.md): cleanup images 2024-06-05 17:20:57 -07:00
Krish Dholakia
ff7291abba
Merge pull request #4028 from BerriAI/litellm_user_invite_links
feat(create_user_button.tsx): allow admin to invite user to proxy via user-email/pwd invite-links
2024-06-05 16:32:24 -07:00
Krrish Dholakia
847cf3111d fix(slack_alerting.py): fix email logo url env passed to proxy 2024-06-05 16:26:50 -07:00
Ishaan Jaff
27d652ac78 feat - audit logs 2024-06-05 16:16:27 -07:00
Krrish Dholakia
7bef67c486 fix(proxy_server.py): allow internal_user with permissions to create/view/delete their own keys 2024-06-05 16:10:37 -07:00
Krrish Dholakia
e78cf92610 feat(create_user_button.tsx): allow admin to invite user to proxy via invite-links
makes it easier for proxy admin to debug what different roles can/can't do
2024-06-05 15:55:39 -07:00
Ishaan Jaff
b6825977c5 fix - fix redirecting after logging in 2024-06-05 15:37:45 -07:00
Ishaan Jaff
de623df7da
Merge pull request #4021 from BerriAI/litellm_fix_div_byzero
[Admin UI] Analytics - fix div by 0 error on /model/metrics
2024-06-05 13:22:10 -07:00
Ishaan Jaff
19ac01a0d7 fix - only log cache credentials in debug mode 2024-06-05 09:58:45 -07:00
Krrish Dholakia
bdffb1f23d fix(types/router.py): add 'drop_params' as a litellm param to router types 2024-06-05 09:12:45 -07:00
Ishaan Jaff
32b664c009 ui - fix div by 0 error on /model/metrics 2024-06-05 08:51:54 -07:00
Ishaan Jaff
03c501bac1 ui - new build 2024-06-04 21:37:12 -07:00
Ishaan Jaff
edb34a5439
Merge pull request #4016 from BerriAI/litellm_fix_internal_user_login
[Fix] Admin UI Internal Users
2024-06-04 21:34:38 -07:00
Ishaan Jaff
d7c6e019b8 fix- proxy - handle case when unknown role 2024-06-04 21:13:04 -07:00
Krish Dholakia
c544ba3654
Merge pull request #4009 from BerriAI/litellm_fix_streaming_cost_cal
fix(utils.py): fix cost calculation for openai-compatible streaming object
2024-06-04 21:00:22 -07:00
Krish Dholakia
2d9a251147
Merge pull request #4012 from BerriAI/litellm_assistants_streaming
feat(assistants/main.py): add assistants api streaming support
2024-06-04 20:58:02 -07:00
Ishaan Jaff
add228d64e feat - log to s3 buckets through litellm Admin UI 2024-06-04 18:28:42 -07:00
Ishaan Jaff
8614be7313 ui -fix types for allowed logging callbacks 2024-06-04 18:22:43 -07:00
Ishaan Jaff
da6702de7f fix types on callback names and vars required 2024-06-04 18:09:12 -07:00
Ishaan Jaff
0773596235 fix - improve logic for all_available_callbacks 2024-06-04 18:08:27 -07:00
Krrish Dholakia
fb12bc70c4 docs(assistants.md): update assistants doc with azure tutorial 2024-06-04 16:53:07 -07:00
Ishaan Jaff
b8c9326df4 add type for AllCallbacks 2024-06-04 16:33:42 -07:00
Krrish Dholakia
f3d78532f9 feat(assistants/main.py): add assistants api streaming support 2024-06-04 16:30:35 -07:00
Krrish Dholakia
52a2f5150c fix(utils.py): fix cost calculation for openai-compatible streaming object 2024-06-04 10:36:25 -07:00
Ishaan Jaff
ac2fa23018 fix proxy config.yaml 2024-06-04 09:40:34 -07:00
Ishaan Jaff
e96d2e3b1b fix otel logging fixes 2024-06-04 08:53:33 -07:00
Ishaan Jaff
0447dc75ed ui - new build 2024-06-03 21:15:00 -07:00
Ishaan Jaff
14fc5ace66 ui - new build 2024-06-03 21:09:29 -07:00
Ishaan Jaff
c1bac5e89d feat - use inlcusive analytics on proxy 2024-06-03 20:49:21 -07:00
Ishaan Jaff
016b8294b0 feat - filter analytics by customer 2024-06-03 20:42:17 -07:00
Ishaan Jaff
f7f1ce9345 feat - get all unique end_users 2024-06-03 20:19:12 -07:00
Ishaan Jaff
17d421fc70 feat - backend changes for filtering by api key 2024-06-03 19:30:12 -07:00
Ishaan Jaff
73cc3067cd feat - filter model metrics by api key 2024-06-03 18:53:01 -07:00
Ishaan Jaff
2c12d0445e
Merge pull request #3994 from BerriAI/litellm_ui_select_spend_by_tag
[Feat] Admin UI - Multi-Select Tags, Viewing spend by tags
2024-06-03 16:44:02 -07:00
Ishaan Jaff
45cb899687 fix - working filter by tag query 2024-06-03 15:12:09 -07:00
Ishaan Jaff
2ac8f1c6ec get all tags on ui 2024-06-03 14:21:35 -07:00
Krrish Dholakia
90f5aa7125 fix(main.py): fix ahealth_check to infer mode when custom_llm_provider/model_name used 2024-06-03 14:06:36 -07:00