Commit graph

2546 commits

Author SHA1 Message Date
Ishaan Jaff
b718e7ec79 fix- refactor proxy place internal user endpoints in sep file 2024-06-15 16:39:06 -07:00
Ishaan Jaff
f84941bdc0
Merge pull request #4217 from BerriAI/litellm_refactor_proxy_server
[Refactor-Proxy] Make proxy_server.py < 10K lines (move management, key, endpoints to their own files)
2024-06-15 16:27:31 -07:00
Ishaan Jaff
dc72545396 doc - add comment explaining user_api_key_auth file 2024-06-15 16:08:17 -07:00
Ishaan Jaff
5746a6b9bf
Merge pull request #4220 from BerriAI/litellm_admin_ui_sign_up_flow
fix - non sso ui sign up flow
2024-06-15 15:55:21 -07:00
Ishaan Jaff
70e3295ead ui - new build 2024-06-15 15:53:46 -07:00
Ishaan Jaff
ae884f741e fix - non sso ui sign up flow 2024-06-15 15:26:44 -07:00
Krish Dholakia
f2b3770869
Merge pull request #4216 from BerriAI/litellm_refactor_logging
refactor(utils.py): Cut down utils.py to <10k lines.
2024-06-15 15:19:42 -07:00
Ishaan Jaff
0f8237e263 fix - refactor key endpoints 2024-06-15 14:13:32 -07:00
Ishaan Jaff
349724a630 use directories for importing new endpoints 2024-06-15 13:35:21 -07:00
Ishaan Jaff
938cca57d4 refactor health endpoints 2024-06-15 12:39:04 -07:00
Ishaan Jaff
1b271aa95c fix swagger 2024-06-15 12:22:16 -07:00
Ishaan Jaff
b4057dc022 refactor spend endpoints 2024-06-15 12:17:33 -07:00
Krrish Dholakia
af88e55d46 fix(utils.py): move 'set_callbacks' to litellm_logging.py 2024-06-15 12:02:30 -07:00
Ishaan Jaff
23e5f36522 fix test 2024-06-15 11:46:15 -07:00
Ishaan Jaff
f2570fdf00 feat - refactor team endpoints 2024-06-15 11:40:36 -07:00
Krrish Dholakia
4f91205530 refactor(utils.py): refactor Logging to it's own class. Cut down utils.py to <10k lines.
Easier debugging

 Reference: https://github.com/BerriAI/litellm/issues/4206
2024-06-15 10:57:20 -07:00
Ishaan Jaff
35710be7c3 test - fixes 2024-06-15 10:40:02 -07:00
Ishaan Jaff
da3ae00bd6 fix - proxy refactor user_api_key_auth 2024-06-15 10:33:58 -07:00
Ishaan Jaff
18f36b38f0 ui - new build 2024-06-14 20:33:02 -07:00
Ishaan Jaff
4bfd46d0a6
Merge pull request #4209 from BerriAI/litellm_send_email_alerts_budget_exceeded
[Feat] send email alerts when budget exceeded
2024-06-14 20:23:19 -07:00
Ishaan Jaff
09b1d52ea1 fix send emails to team members 2024-06-14 20:11:16 -07:00
Krish Dholakia
3ef5d40b73
Merge pull request #4205 from BerriAI/litellm_alerting_metadata
fix(slack_alerting.py): allow new 'alerting_metadata' arg
2024-06-14 19:04:30 -07:00
Ishaan Jaff
eafcd5effa fix show email on config 2024-06-14 18:41:51 -07:00
Ishaan Jaff
52b54da354 fix -better debugging before sending emails 2024-06-14 17:38:33 -07:00
Ishaan Jaff
b31c084b53 add team_alias in alerting info 2024-06-14 17:05:59 -07:00
Ishaan Jaff
75d5609705 send team_alias on team budget alerts 2024-06-14 17:00:43 -07:00
Krrish Dholakia
e18002023a fix(slack_alerting.py): allow new 'alerting_metadata' arg
Allows user to pass in additional alerting metadata for debugging
2024-06-14 16:06:47 -07:00
Ishaan Jaff
6bd7e24fdd fix - team budget exceeded 2024-06-14 15:54:14 -07:00
Krrish Dholakia
2732ff5d56 fix(utils.py): return traceback on unmapped exception error
Fixes https://github.com/BerriAI/litellm/issues/4201
2024-06-14 15:08:01 -07:00
Krrish Dholakia
d8acda9f39 fix(proxy/utils.py): fix reset monthly budget
fix to reset at the same time each month (not at start of month)
2024-06-14 14:41:06 -07:00
Krish Dholakia
e61cd2e1e2
Merge branch 'main' into litellm_redis_cache_usage 2024-06-13 22:07:21 -07:00
Krish Dholakia
d499477f54
Merge pull request #4178 from BerriAI/litellm_http_handler
Retry on connection disconnect
2024-06-13 21:14:56 -07:00
Krrish Dholakia
acdd8f16ea build(ui): new build 2024-06-13 21:13:29 -07:00
Krrish Dholakia
8498600d42 feat(proxy/utils.py): allow budget duration in months
Closes https://github.com/BerriAI/litellm/issues/4042
2024-06-13 21:13:29 -07:00
Ishaan Jaff
17b8a31f0e update swagger for /team endpoints 2024-06-13 21:13:29 -07:00
Ishaan Jaff
62ff15fe6c fix /team/update 2024-06-13 21:13:29 -07:00
Ishaan Jaff
6d44c56e41 fix bug when updating team 2024-06-13 21:13:29 -07:00
Ishaan Jaff
8b7b2eec6b feat - add remaining budget for key on prometheus 2024-06-13 21:13:29 -07:00
Ishaan Jaff
330df10907 feat - add remaining team budget gauge 2024-06-13 21:13:29 -07:00
Ishaan Jaff
1a9ab1d66a fix - clean up swagger spend endpoints 2024-06-13 21:13:29 -07:00
Ishaan Jaff
a166db1e73 fix config 2024-06-13 21:13:29 -07:00
Krrish Dholakia
11555e56ed build(ui): new build 2024-06-13 20:55:50 -07:00
Krrish Dholakia
b72d09689e feat(proxy/utils.py): allow budget duration in months
Closes https://github.com/BerriAI/litellm/issues/4042
2024-06-13 20:55:50 -07:00
Ishaan Jaff
b986aa2846 update swagger for /team endpoints 2024-06-13 20:55:50 -07:00
Ishaan Jaff
b4db497e23 fix /team/update 2024-06-13 20:55:50 -07:00
Ishaan Jaff
8f77cfc013 fix bug when updating team 2024-06-13 20:55:49 -07:00
Ishaan Jaff
fd3d764a3f feat - add remaining budget for key on prometheus 2024-06-13 20:55:49 -07:00
Ishaan Jaff
95cc2484ed feat - add remaining team budget gauge 2024-06-13 20:55:49 -07:00
Ishaan Jaff
21ed23296f fix - clean up swagger spend endpoints 2024-06-13 20:55:49 -07:00
Krrish Dholakia
e93727b585 test(test_router_debug_logs.py): fix test 2024-06-13 20:37:37 -07:00