Commit graph

36 commits

Author SHA1 Message Date
Ishaan Jaff
1e7849cfb2 (UI) - Refactor View Key Table (#8526)
* new key table

* clean up

* fix view all team keys

* fixed create key button

* show all keys

* ui select team flow

* pagination on keys

* fix aligning of team and pagination

* show key hash

* allow clicking into key

* click into a key

* add current status

* fix key alias edit

* delete key

* fix(create_key_button.tsx): allow user to select team when creating key

* working edit key

* feat(create_key_button.tsx): switch available models based on selected team

enables user to create a key for a specific team

* fix(create_key_button.tsx): improve type safety of component

* fix(create_key_button.tsx): style cleanup

* pass team all the way thru

* refactor getTeamModels

* fix(columns.tsx): make cost easier to see

* ui fix edit key ui

* cleanup

* fix linting error

* fix filter

* fix linting

* ui fix all keys

* fix linting

* fix linting

* fix org id

* fix linting

* fix linting

* fix linting

* fix linting

* fix linting

* fix linting

---------

Co-authored-by: Krrish Dholakia <krrishdholakia@gmail.com>
2025-02-13 21:51:54 -08:00
Krish Dholakia
1598a2636e UI Fixes p2 (#8502)
* refactor(admin.tsx): cleanup add new admin flow

removes buggy flow. Ensures just 1 simple way to add users / update roles.

* fix(user_search_modal.tsx): ensure 'add member' button is always visible

* fix(edit_membership.tsx): ensure 'save changes' button always visible

* fix(internal_user_endpoints.py): ensure user in org can be deleted

Fixes issue where user couldn't be deleted if they were a member of an org

* fix: fix linting error
2025-02-12 22:51:54 -08:00
Krish Dholakia
762d872b7e fix(admins.tsx): fix logic for getting base url and create common get base url component (#7854)
Resolves https://github.com/BerriAI/litellm/issues/7761
2025-01-18 08:07:39 -08:00
Krish Dholakia
777ed61d0b LiteLLM Minor Fixes & Improvements (11/19/2024) (#6820)
* fix(anthropic/chat/transformation.py): add json schema as values: json_schema

fixes passing pydantic obj to anthropic

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

* (feat): Add timestamp_granularities parameter to transcription API (#6457)

* Add timestamp_granularities parameter to transcription API

* add param to the local test

* fix(databricks/chat.py): handle max_retries optional param handling for openai-like calls

Fixes issue with calling finetuned vertex ai models via databricks route

* build(ui/): add team admins via proxy ui

* fix: fix linting error

* test: fix test

* docs(vertex.md): refactor docs

* test: handle overloaded anthropic model error

* test: remove duplicate test

* test: fix test

* test: update test to handle model overloaded error

---------

Co-authored-by: Show <35062952+BrunooShow@users.noreply.github.com>
2024-11-21 00:57:58 +05:30
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
Ishaan Jaff
f9e6ac0542 switch off prod logs on ui 2024-07-30 13:23:45 -07:00
Ishaan Jaff
c2289afee8 swithc off console log in prod 2024-07-30 13:02:55 -07:00
Ishaan Jaff
6be8be3eb7 check if premium user for sso / allowed ip 2024-07-09 16:25:23 -07:00
Ishaan Jaff
0792358664 fixes when no ip addresses enabled 2024-07-09 16:15:05 -07:00
Ishaan Jaff
144b9d10b1 fix text hierarhcy 2024-07-09 16:04:03 -07:00
Ishaan Jaff
7ddea169b7 fix allowed ip screen 2024-07-09 15:57:53 -07:00
Ishaan Jaff
7e2dae55d8 ui - get, set, delete allowed ip addresses 2024-07-09 15:43:44 -07:00
Ishaan Jaff
331f7826bd ui - allow setting allowed ip 2024-07-09 14:46:46 -07:00
Krrish Dholakia
eb1f244b90 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
329ae60747 invite - viewers on admin ui 2024-05-31 17:30:42 -07:00
Ishaan Jaff
5d57d4443a fix - reset form when user cancels on add admin or add viewer 2024-05-31 16:42:20 -07:00
Ishaan Jaff
28b4e61a28 ui - new build 2024-05-31 16:20:45 -07:00
Ishaan Jaff
3b4a1d5dd6 fix - cancel out of invite link when it does not work 2024-05-31 13:36:29 -07:00
Ishaan Jaff
ee1f780b96 ui fix 2024-05-31 08:22:38 -07:00
Ishaan Jaff
2d81ecdf8b Merge branch 'main' into litellm_invite_link_flow_2 2024-05-31 08:14:52 -07:00
Ishaan Jaff
a1c42b94be fix - admins tab show human friendly role 2024-05-30 17:24:52 -07:00
Krrish Dholakia
991fc9563a feat: e2e flow complete - admin can invite new users to proxy via invite links
Completes https://github.com/BerriAI/litellm/issues/3863
2024-05-27 23:19:30 -07:00
Ishaan Jaff
adbef61b20 fix - show correct fallback login 2024-04-11 11:48:03 -07:00
Ishaan Jaff
fc9c6a9c36 fix - point to fallback login 2024-04-11 11:41:44 -07:00
Ishaan Jaff
071c6171fb ui - set admin when setting up sso 2024-04-10 13:33:32 -07:00
Ishaan Jaff
286666e3f9 ui - setup sso on admin ui 2024-04-10 12:07:21 -07:00
Ishaan Jaff
8b5d28d14a v0 - add sso 2024-04-10 11:49:27 -07:00
Ishaan Jaff
1bb02efb80 v0 setup sso on litellm admin ui 2024-04-10 11:44:08 -07:00
Ishaan Jaff
8ed7abe3e0 ui - setup sso 2024-04-10 08:49:40 -07:00
Krrish Dholakia
c279ec0dcf build(ui/admin.tsx): allow adding admins + upgrading viewer to admin
Allows proxy admin to add more admins via UI
2024-04-09 13:00:09 -07:00
Ishaan Jaff
e43712c73b (ui) improvements 2024-03-29 11:51:23 -07:00
Ishaan Jaff
488330522b (ui) new build 2024-03-28 21:00:46 -07:00
Ishaan Jaff
a9399771d8 (fix) ui alignment 2024-03-28 18:50:32 -07: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
Krrish Dholakia
c83a950f9b fix(ui): allow admin to selectively add proxy admin viewers 2024-02-28 19:33:54 -08:00
Krrish Dholakia
a785f65c4f fix([WIP]): allow proxy admin to add users to view global spend 2024-02-27 18:32:06 -08:00