Commit graph

21397 commits

Author SHA1 Message Date
Ishaan Jaff
37f6d5f74e Merge branch 'main' into litellm_use_msft_service_principals 2025-04-09 18:33:20 -07:00
Ishaan Jaff
4c1bb74c3d
[Feat] - SSO - Use MSFT Graph API to assign users to teams (#9865)
* refactor SSO handler

* render sso JWT on ui

* docs debug sso

* fix sso login flow use await

* fix ui sso debug JWT

* test ui sso

* remove redis vl

* fix redisvl==0.5.1

* fix ml dtypes

* fix redisvl

* fix redis vl

* fix debug_sso_callback

* fix linting error

* fix redis semantic caching dep

* working graph api assignment

* test msft sso handler openid

* testing for msft group assignment

* fix debug graph api sso flow

* fix linting errors

* add_user_to_teams_from_sso_response

* fix linting error
2025-04-09 18:26:43 -07:00
Ishaan Jaff
a86ab3d25a fix linting errors 2025-04-09 18:25:09 -07:00
Ishaan Jaff
546cf2e090 docs MICROSOFT_SERVICE_PRINCIPAL_ID 2025-04-09 18:22:56 -07:00
Krrish Dholakia
a1433da4a7 fix: transform_request.tsx
don't hardcode to localhost
2025-04-09 17:50:13 -07:00
Krrish Dholakia
86bfb8cd66 Revert "docs: initial commit adding api playground to docs"
This reverts commit 9d68008152.
2025-04-09 17:50:13 -07:00
Krrish Dholakia
5ca93a1950 docs: initial commit adding api playground to docs
makes it easy to see how litellm transforms your request
2025-04-09 17:50:13 -07:00
Krrish Dholakia
3f3afabda9 feat(leftnav.tsx): show api playground on UI
allows easy testing on UI
2025-04-09 17:50:13 -07:00
Krrish Dholakia
b11c08bde3 fix(new_usage.tsx): increase page size + iterate through all pages if multiple pages 2025-04-09 17:50:13 -07:00
Krrish Dholakia
9ec1972926 fix(internal_user_endpoints.py): increase default page size for /user/daily/activity 2025-04-09 17:50:13 -07:00
Ishaan Jaff
f85767e4af create_litellm_teams_from_service_principal_team_ids 2025-04-09 17:49:08 -07:00
Ishaan Jaff
958c284957 create_litellm_teams_from_service_principal_team_ids 2025-04-09 17:45:12 -07:00
Ishaan Jaff
5a91142d31 add MicrosoftServicePrincipalTeam 2025-04-09 17:38:02 -07:00
Ishaan Jaff
b64216ae3a linting fix _get_group_ids_from_graph_api_response 2025-04-09 16:25:18 -07:00
Ishaan Jaff
edf403b537 ui sso fix team assignments 2025-04-09 16:18:16 -07:00
Ishaan Jaff
51285c2fa9 add_user_to_teams_from_sso_response 2025-04-09 16:04:38 -07:00
Ishaan Jaff
2f419ba384 fix linting errors 2025-04-09 15:59:33 -07:00
Ishaan Jaff
8e554f52e3 fix debug graph api sso flow 2025-04-09 15:47:36 -07:00
Ishaan Jaff
b2b82ecd66 Merge branch 'main' into litellm_msft_group_assignment 2025-04-09 15:34:12 -07:00
Ishaan Jaff
6f7e9b9728
[Feat SSO] Debug route - allow admins to debug SSO JWT fields (#9835)
* refactor SSO handler

* render sso JWT on ui

* docs debug sso

* fix sso login flow use await

* fix ui sso debug JWT

* test ui sso

* remove redis vl

* fix redisvl==0.5.1

* fix ml dtypes

* fix redisvl

* fix redis vl

* fix debug_sso_callback

* fix linting error

* fix redis semantic caching dep
2025-04-09 15:29:35 -07:00
Ishaan Jaff
08a3620414
[Bug Fix] Add support for UploadFile on LLM Pass through endpoints (OpenAI, Azure etc) (#9853)
* http passthrough file handling

* fix make_multipart_http_request

* test_pass_through_file_operations

* unit tests for file handling
2025-04-09 15:29:20 -07:00
Ishaan Jaff
61c50cafeb testing for msft group assignment 2025-04-09 15:27:14 -07:00
Ishaan Jaff
a1e88a6c49 test msft sso handler openid 2025-04-09 15:20:30 -07:00
Krish Dholakia
6ba3c4a4f8
VertexAI non-jsonl file storage support (#9781)
* test: add initial e2e test

* fix(vertex_ai/files): initial commit adding sync file create support

* refactor: initial commit of vertex ai non-jsonl files reaching gcp endpoint

* fix(vertex_ai/files/transformation.py): initial working commit of non-jsonl file call reaching backend endpoint

* fix(vertex_ai/files/transformation.py): working e2e non-jsonl file upload

* test: working e2e jsonl call

* test: unit testing for jsonl file creation

* fix(vertex_ai/transformation.py): reset file pointer after read

allow multiple reads on same file object

* fix: fix linting errors

* fix: fix ruff linting errors

* fix: fix import

* fix: fix linting error

* fix: fix linting error

* fix(vertex_ai/files/transformation.py): fix linting error

* test: update test

* test: update tests

* fix: fix linting errors

* fix: fix test

* fix: fix linting error
2025-04-09 14:01:48 -07:00
Ishaan Jaff
0601ae55c4 working graph api assignment 2025-04-09 13:58:32 -07:00
qvalentin
93532e00db
feat: add enterpriseWebSearch tool for vertex-ai (#9856) 2025-04-09 13:17:48 -07:00
Emerson Gomes
d5e362459c
Update Azure Phi-4 pricing (#9862)
Updates Phi-4 family model prices with recently published info
2025-04-09 13:17:00 -07:00
Jacob Hagstedt P Suorra
dc9bfae053
Add user alias to API endpoint (#9859)
Co-authored-by: Jacob Hagstedt <wcgs@novonordisk.com>
2025-04-09 13:16:35 -07:00
Ishaan Jaff
588c567d92 fix redis semantic caching dep 2025-04-09 10:11:56 -07:00
Ishaan Jaff
4fb1a53172 fix linting error 2025-04-09 10:09:59 -07:00
Christian Owusu
d4e5da87be
Reflect key and team update in UI (#9825)
All checks were successful
Read Version from pyproject.toml / read-version (push) Successful in 16s
Helm unit test / unit-test (push) Successful in 23s
* Reflect updates to keys in UI instantly

* Reflect updates to teams in UI instantly
2025-04-09 07:47:16 -07:00
Marcus Hynfield
cc7d59a11e
Add service annotations to litellm-helm chart (#9840)
All checks were successful
Read Version from pyproject.toml / read-version (push) Successful in 15s
Helm unit test / unit-test (push) Successful in 22s
2025-04-08 21:42:09 -07:00
Ishaan Jaff
6ef3434be4 fix debug_sso_callback 2025-04-08 21:40:51 -07:00
Ishaan Jaff
9d8ae741b5 fix redis vl 2025-04-08 21:38:36 -07:00
Ishaan Jaff
23105a1384 fix redisvl 2025-04-08 21:31:04 -07:00
Ishaan Jaff
61105bc2ae fix ml dtypes 2025-04-08 21:27:51 -07:00
Ishaan Jaff
c6091ebbf2 fix redisvl==0.5.1 2025-04-08 21:27:01 -07:00
Ishaan Jaff
e5370566fa remove redis vl 2025-04-08 17:28:16 -07:00
Ishaan Jaff
357f081d1c fix mldtypes dep
All checks were successful
Read Version from pyproject.toml / read-version (push) Successful in 14s
Helm unit test / unit-test (push) Successful in 23s
2025-04-08 17:25:28 -07:00
Ishaan Jaff
9f33e9b3e8 pin ml-dtypes==0.4.0 2025-04-08 17:24:08 -07:00
Li Yang
11389535d5
chore: fix haiku cache read pricing per token (#9834) 2025-04-08 16:43:09 -07:00
Krrish Dholakia
a3ea079583 docs(gemini.md): show how to call google search via litellm
Addresses https://github.com/BerriAI/litellm/issues/361#issuecomment-2787497217
2025-04-08 16:41:24 -07:00
Ishaan Jaff
c403dfb615 pip install --upgrade pip wheel setuptools 2025-04-08 16:38:44 -07:00
Ishaan Jaff
8a596dbe8c pip install wheel 2025-04-08 16:27:09 -07:00
Ishaan Jaff
7033cfa925 test ui sso 2025-04-08 16:13:36 -07:00
Ishaan Jaff
e2002bf7ca fix ui sso debug JWT 2025-04-08 16:00:57 -07:00
Ishaan Jaff
4cd8aff31e fix sso login flow use await 2025-04-08 15:52:32 -07:00
Ishaan Jaff
7fac2e635f docs debug sso 2025-04-08 15:48:54 -07:00
Ishaan Jaff
6f0262dc68 render sso JWT on ui 2025-04-08 15:26:03 -07:00
Ishaan Jaff
89cf042541 refactor SSO handler 2025-04-08 15:20:50 -07:00