Commit graph

925 commits

Author SHA1 Message Date
Ishaan Jaff
4127d10511 [Feat] Admin UI - Add Service Accounts (#5855)
* service_account_settings on config

* add service account checks

* call service_account_checks

* add testing for service accounts

* add service_account on ui
2024-09-23 17:50:05 -07:00
Ishaan Jaff
61ef635cd6 ui new build 2024-09-23 13:17:40 -07:00
Ishaan Jaff
dd2cbee48a ui networking list all teams (#5851) 2024-09-23 13:16:18 -07:00
Ishaan Jaff
48f3bf3baa ui new build 2024-09-23 07:56:23 -07:00
Ishaan Jaff
80e0a4f8fb [SSO-UI] Set new sso users as internal_view role users (#5824)
* use /user/list endpoint on admin ui

* sso insert user with role when user does not exist

* add sso sign in test

* linting fix

* rename self serve doc

* add doc for self serve flow

* test - sso sign in default values

* add test for /user/list endpoint
2024-09-21 16:43:52 -07:00
Krish Dholakia
4445bfb9d7 LiteLLM Minor Fixes & Improvements (09/19/2024) (#5793)
* fix(model_prices_and_context_window.json): add cost tracking for more vertex llama3.1 model

8b and 70b models

* fix(proxy/utils.py): handle data being none on pre-call hooks

* fix(proxy/): create views on initial proxy startup

fixes base case, where user starts proxy for first time

 Fixes https://github.com/BerriAI/litellm/issues/5756

* build(config.yml): fix vertex version for test

* feat(ui/): support enabling/disabling slack alerting

Allows admin to turn on/off slack alerting through ui

* feat(rerank/main.py): support langfuse logging

* fix(proxy/utils.py): fix linting errors

* fix(langfuse.py): log clean metadata

* test(tests): replace deprecated openai model
2024-09-20 08:19:52 -07:00
Ishaan Jaff
7c241ddfcb ui new build 2024-09-20 08:11:05 -07:00
Ishaan Jaff
cbab903d52 ui fix correct team not loading (#5804)
* ui fix correct team not loading

* ui fix
2024-09-20 08:08:56 -07:00
Ishaan Jaff
aa9bee1420 ui new build 2024-09-19 17:18:49 -07:00
Ishaan Jaff
36018a8e59 [ Proxy - User Management]: If user assigned to a team don't show Default Team (#5791)
* rename endpoint to ui_settings

* ui allow DEFAULT_TEAM_DISABLED

* fix logic

* docs Set `default_team_disabled: true` on your litellm config.yaml
2024-09-19 17:13:58 -07:00
dependabot[bot]
b07b923fe0 Bump next from 14.1.1 to 14.2.10 in /ui/litellm-dashboard (#5753)
Bumps [next](https://github.com/vercel/next.js) from 14.1.1 to 14.2.10.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v14.1.1...v14.2.10)

---
updated-dependencies:
- dependency-name: next
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-17 18:21:58 -07:00
Krrish Dholakia
8e8a599f78 build: bump from 1.44.28 -> 1.45.0 2024-09-12 23:10:29 -07:00
Krish Dholakia
6503baaf26 fix(user_dashboard.tsx): don't call /global/spend on startup (#5668)
at 1m+ rows, query timeouts cause ui errors
2024-09-12 22:15:52 -07:00
Ishaan Jaff
185579a8ef ui new build 2024-09-07 16:24:06 -07:00
Ishaan Jaff
19aba4ac4f ui allow setting input / output cost per M tokens 2024-09-07 12:07:14 -07:00
Ishaan Jaff
2b7580916e ui new build 2024-09-06 18:10:46 -07:00
Ishaan Jaff
4db821897d Merge pull request #5566 from BerriAI/litellm_ui_regen_keys
[Feat] Allow setting duration time when regenerating key
2024-09-06 18:05:51 -07:00
Krish Dholakia
e1a9f7795b fix(navbar.tsx): only show 'get enterprise license' if user is not already a premium user (#5568) 2024-09-06 17:14:30 -07:00
Ishaan Jaff
bb72c91bdb fix ui type 2024-09-06 17:04:03 -07:00
Ishaan Jaff
8070e8f96a fix regen keys 2024-09-06 14:31:20 -07:00
Ishaan Jaff
24db6f94aa working regen flow 2024-09-06 14:10:02 -07:00
Ishaan Jaff
4eae1d8482 ui allow rotating keys 2024-09-06 10:34:50 -07:00
Ishaan Jaff
c04e6ebfaa use form correctly 2024-09-06 10:27:47 -07:00
Ishaan Jaff
00d01302b4 allow correct fields on regenerate key 2024-09-06 10:19:37 -07:00
Ishaan Jaff
18e2169c40 ui new build 2024-09-05 17:05:39 -07:00
Ishaan Jaff
dd7d93fd54 Merge branch 'main' into litellm_allow_internal_user_view_usage 2024-09-05 16:46:06 -07:00
Ishaan Jaff
5c7af8c9fd ui show when key expires 2024-09-05 15:57:52 -07:00
Ishaan Jaff
e2ba2653fc ui add a check for isAdminOrAdminViewer 2024-09-05 13:04:20 -07:00
Ishaan Jaff
06d538de10 use helper functions per endpoint 2024-09-05 10:57:12 -07:00
Ishaan Jaff
2b91a79c7a fix allow internal user and internal viewer to view usage 2024-09-05 10:16:25 -07:00
Ishaan Jaff
b8c092d430 new ui build 2024-08-28 14:43:33 -07:00
Ishaan Jaff
17556a02a2 fix ui 2024-08-28 11:59:32 -07:00
Ishaan Jaff
4a0ea4bdf1 ui fixes 2024-08-28 11:53:31 -07:00
Ishaan Jaff
c82248acf7 ui fix viewing budget info 2024-08-28 11:51:47 -07:00
Ishaan Jaff
2dd4717f97 ui show Budget Reset 2024-08-28 11:48:33 -07:00
Ishaan Jaff
61eadc5f24 stash change 2024-08-28 09:55:53 -07:00
Ishaan Jaff
8e006113d3 allow editing budget duration 2024-08-28 08:23:01 -07:00
dependabot[bot]
f92e2ffffa build(deps): bump micromatch in /ui/litellm-dashboard
Bumps [micromatch](https://github.com/micromatch/micromatch) from 4.0.5 to 4.0.8.
- [Release notes](https://github.com/micromatch/micromatch/releases)
- [Changelog](https://github.com/micromatch/micromatch/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/micromatch/compare/4.0.5...4.0.8)

---
updated-dependencies:
- dependency-name: micromatch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-27 02:04:05 +00:00
Ishaan Jaff
8059b6a7c3 ui new build 2024-08-26 19:01:35 -07:00
Ishaan Jaff
a20e37d3b4 fix regen api key flow 2024-08-26 18:59:29 -07:00
Ishaan Jaff
0b486c2645 make regenerating api keys enterprise 2024-08-26 18:53:28 -07:00
Ishaan Jaff
050a5e5753 regenerate key 2024-08-26 18:44:46 -07:00
Ishaan Jaff
304dd207b5 update ui regen key 2024-08-26 18:41:20 -07:00
Ishaan Jaff
4c82d7bd2a ui regenerate an api key 2024-08-26 18:33:18 -07:00
Ishaan Jaff
0aacf6d7e7 working regenerate key flow 2024-08-26 18:28:26 -07:00
Ishaan Jaff
7be10f1714 ui new build 2024-08-24 16:45:53 -07:00
Ishaan Jaff
59903138bf fix allow setting per model tpm rpm limits 2024-08-24 15:34:25 -07:00
Ishaan Jaff
5f59ec15bb ui allow setting tpm / rpm limits on ui 2024-08-24 12:42:39 -07:00
Ishaan Jaff
7836a3fe94 Merge pull request #5350 from BerriAI/ui_show_user_id_on_table
Admin UI - show user_id on Key Table
2024-08-24 10:52:47 -07:00
Ishaan Jaff
972039c324 fix show user_id on table 2024-08-23 20:54:44 -07:00