Commit graph

418 commits

Author SHA1 Message Date
ishaan-jaff
1a3a097dd4 (feat) better debugging when reading prisma 2024-03-07 13:42:54 -08:00
Krrish Dholakia
df0eb170e6 fix(proxy_server.py): fix sql query 2024-03-06 19:41:12 -08:00
Krrish Dholakia
7bfadc258e feat(proxy_server.py): team based model aliases
allow setting model aliases at a team level (e.g. route all 'gpt-3.5-turbo' requests from team-1 to model-deployment-group-2)
2024-03-06 17:42:08 -08:00
ishaan-jaff
48f6189760 (feat) circular ref error on prisa 2024-03-06 12:08:22 -08:00
ishaan-jaff
8a75c4c3a3 (fix) circular ref error h 2024-03-06 12:02:44 -08:00
ishaan-jaff
596f415f6b (feat) handle litellm circular ref error 2024-03-06 10:21:25 -08:00
ishaan-jaff
d0a4862871 (fix) use str(e) 2024-03-05 18:57:26 -08:00
ishaan-jaff
5d76081d89 (fix) chore 2024-03-05 18:54:04 -08:00
Ishaan Jaff
563f4e6a16 Merge branch 'main' into litellm_fixes_proxy_db 2024-03-05 18:51:55 -08:00
ishaan-jaff
79f5e36540 (feat) add better debugging when DB read/write fails 2024-03-05 18:16:59 -08:00
Krrish Dholakia
b5861fb661 fix(main.py): trigger new build 2024-03-05 15:50:40 -08:00
ishaan-jaff
fabde529fa (v0) fixes 2024-03-05 15:27:06 -08:00
Krrish Dholakia
9bea3d0c7d fix(proxy/utils.py): add linting fix 2024-03-02 21:11:25 -08:00
Krrish Dholakia
5e7df68682 fix(proxy/utils.py): fix pydantic model dump logic 2024-03-02 21:10:37 -08:00
Krrish Dholakia
eec35bc851 fix(proxy/utils.py): fix model dump pydantic versioning issue 2024-03-02 21:01:36 -08:00
Krrish Dholakia
82bced7183 fix(proxy/utils.py): fix resetting budget logic 2024-03-02 20:52:54 -08:00
Krrish Dholakia
5e37a24a36 fix(proxy_server.py): actual implementation of slack soft budget alerting 2024-03-02 18:34:18 -08:00
ishaan-jaff
695c06f117 (feat) log api_base in spend logs 2024-03-02 12:02:06 -08:00
ishaan-jaff
343f9d05f9 (feat) send api_base 2024-03-02 11:06:03 -08:00
ishaan-jaff
68f80ea2c4 (feat) neatly format slack alerts 2024-03-01 20:45:22 -08:00
Krish Dholakia
cd33e318c8 Merge branch 'main' into litellm_end_user_spend_tracking 2024-02-29 19:31:19 -08:00
ishaan-jaff
661165b0d3 (feat) use view to see monthly spend per key 2024-02-29 19:22:22 -08:00
Krrish Dholakia
e643eb11fe fix: return end user top spend 2024-02-29 19:11:50 -08:00
ishaan-jaff
61fc09d071 Revert "(feat) use view to see monthly spend per key"
This reverts commit 3bae0d5526.
2024-02-29 19:10:36 -08:00
ishaan-jaff
09978c878c (feat) use view to see monthly spend per key 2024-02-29 17:46:39 -08:00
Krrish Dholakia
7f2e12cd10 fix: enable end user tracking on ui 2024-02-29 16:30:12 -08:00
Krrish Dholakia
c371009faf feat(proxy/utils.py): enable end_user + team id tracking in spend logs
allows separating proxy owner vs. end user in the spen
d logs
2024-02-29 16:04:52 -08:00
Krish Dholakia
aee004ad49 Merge pull request #2257 from BerriAI/litellm_ui_top_models
[UI] View top models by spend
2024-02-29 13:59:40 -08:00
Ishaan Jaff
ac1c43e289 Merge pull request #2255 from BerriAI/litellm_admin_ui_user_panel_load_time_high
[FEAT] proxy add pagination on /user/info endpoint (Admin UI does not load all users)
2024-02-29 13:22:00 -08:00
Krrish Dholakia
216688ff2e fix(usage.tsx): show top models by spend 2024-02-29 13:10:20 -08:00
ishaan-jaff
795b2e9e18 (feat) proxy add pagination on /user/info endpoint 2024-02-29 12:30:47 -08:00
Krrish Dholakia
486079a2a0 build(ui): fix admin viewer issue 2024-02-29 09:56:26 -08:00
Krrish Dholakia
3c008aed3d fix(proxy/utils.py): add script for adding MonthlyGlobalSpend view to the db 2024-02-28 13:08:38 -08:00
Krrish Dholakia
212e59b49e fix(proxy/utils.py): fix try-except for creating a view 2024-02-26 22:44:05 -08:00
Krrish Dholakia
7d84f02365 fix(proxy_server.py): enforce team based spend limits 2024-02-26 15:45:25 -08:00
Ishaan Jaff
859f8fe32c Merge pull request #2187 from BerriAI/litellm_clickhouse_logs
[FEAT] Use Logging on clickhouse
2024-02-26 08:26:02 -08:00
ishaan-jaff
4e8b62ccea (feat) use clickhouse as a logging provider 2024-02-26 07:35:16 -08:00
Krrish Dholakia
9505c4d707 fix(proxy_server.py): bug fixes 2024-02-25 00:12:16 -08:00
Krrish Dholakia
22a6ad946e build(ui): enable admin to create teams, add members, create keys for teams 2024-02-24 22:06:00 -08:00
Krrish Dholakia
f4f1529feb fix(proxy/utils.py): raise exception if get data for tokens is called on None token 2024-02-23 14:44:33 -08:00
Krish Dholakia
0cfd106a2b Merge pull request #2119 from BerriAI/litellm_updated_team_endpoints
Enable `/team/update`, `/team/delete` endpoints + create teams with user defined roles
2024-02-21 17:24:58 -08:00
Krrish Dholakia
252dd9b95f fix(proxy_server.py): enable proxy /team/delete endpoint 2024-02-21 16:53:12 -08:00
Krrish Dholakia
e01a61267f fix(proxy_server.py): enable /team/update endpoint for adding / deleting users from team 2024-02-21 14:47:52 -08:00
Krrish Dholakia
820421ce0c fix: show all teams user is a part of in user_info 2024-02-21 13:29:42 -08:00
ishaan-jaff
daba3d14cb (fix) ui allow users to make ui chat requests 2024-02-21 13:25:52 -08:00
Krrish Dholakia
7089b13632 fix(llm_guard.py): add streaming hook for moderation calls 2024-02-20 20:31:32 -08:00
Krrish Dholakia
d61ba8023f refactor(main.py): trigger new build 2024-02-19 22:53:38 -08:00
ishaan-jaff
d79520b2b2 (feat) /user/get_requests 2024-02-19 17:04:13 -08:00
ishaan-jaff
085ca52493 (feat) use user_notification table 2024-02-19 16:53:40 -08:00
ishaan-jaff
f3a66b3625 (feat) proxy - save model access requests 2024-02-19 16:35:20 -08:00