Commit graph

26388 commits

Author SHA1 Message Date
Krrish Dholakia
ff3f356416 docs(docs/): add app role support to docs 2025-10-08 18:46:28 -07:00
Krrish Dholakia
d28ecbc900 feat(ui_sso.py): support mapping app roles from azure entra id to litellm user roles
Closes LIT-1228
2025-10-08 18:45:13 -07:00
Ishaan Jaffer
c4022ade49 test mapped tests MCP 2025-10-08 18:34:30 -07:00
Copilot
4226314096
Add native Responses API support for litellm_proxy provider (#15347)
* Initial plan

* Add native Responses API support for litellm_proxy provider

Co-authored-by: ishaan-jaff <29436595+ishaan-jaff@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: ishaan-jaff <29436595+ishaan-jaff@users.noreply.github.com>
2025-10-08 18:31:26 -07:00
Achintya Rajan
4bebb57611 moved test to test_litellm 2025-10-08 18:28:10 -07:00
Ishaan Jaff
2f42c806cb
[Fix] x-litellm-cache-key header not being returned on cache hit (#15348)
* fix: x-cache-key

* test_cache_key_in_hidden_params_acompletion

* fix: remove_cache_control_flag_from_messages_and_tools
2025-10-08 18:10:43 -07:00
Achintya Rajan
ff4eda0ea6 removed unscoped changes (will be added later) 2025-10-08 18:00:15 -07:00
Achintya Rajan
3beb4a0797 added reload to base URL when FF is turned off 2025-10-08 17:54:48 -07:00
Ishaan Jaff
97031dc8ee
Fix - (openrouter): move cache_control to content blocks for claude/gemini (#15345)
* test_openrouter_transform_request_with_cache_control

* fix CacheControlSupportedModels

* test_openrouter_transform_request_with_cache_control_gemini
2025-10-08 17:41:04 -07:00
Krrish Dholakia
c97495c5d9 docs(mcp.md): document new allow/disallow tool parameters functionality 2025-10-08 17:39:42 -07:00
Achintya Rajan
825a040524 moved virtual-key-refactor to its own branch 2025-10-08 17:38:42 -07:00
Krrish Dholakia
0b27c361fe feat(mcp/): initial commit raising correct oauth error 2025-10-08 17:33:11 -07:00
Krish Dholakia
0a507c37ea
Merge pull request #15344 from sandeshghanta/patch-1
Add gpt-5-pro-2025-10-06 to model costs
2025-10-08 17:23:09 -07:00
Achintya Rajan
2b0df22dc5 next routing, feature flagged via sidebar 2025-10-08 17:07:46 -07:00
Pierre-Emmanuel MERCIER
861750790b feat: add redis ssl and username support (#11319) 2025-10-08 16:48:07 -07:00
Sandesh Ghanta
e4317030bf
Add gpt-5-pro-2025-10-06 to model costs 2025-10-08 16:44:40 -07:00
Krrish Dholakia
ecb6c0e814 fix(mcp_server_manager.py): ensure only allowed params sent to MCP server 2025-10-08 16:37:50 -07:00
Krrish Dholakia
dd4249db78 feat(mcp_server_manager.py): initial commit adding allowed params support
allow admin to specify which parameters to allow/disallow by MCP tool
2025-10-08 16:27:01 -07:00
Krish Dholakia
5c6fb5eb29
Merge pull request #15309 from BerriAI/litellm_cookie_spasm_mitigation
potentially fixes a UI spasm issue with an expired cookie
2025-10-08 16:13:38 -07:00
Krrish Dholakia
cd13e533a2 feat(mcp_server_manager.py): expand allowed/disallowed list 2025-10-08 16:06:17 -07:00
Krrish Dholakia
28698933fc feat(mcp_server_manager.py): ensure list tools for openapi servers works as expected 2025-10-08 15:59:42 -07:00
Ishaan Jaff
1c56a0d856
[Fix] Watsonx - Apply correct prompt templates for openai/gpt-oss model family (#15341)
* fix: apply_prompt_template

* Revert "fix: apply_prompt_template"

This reverts commit 3e0e40b497.

* add apply_prompt_template for WatsonX

* feat: add apply_prompt_template

* test_watsonx_gpt_oss_prompt_transformation

* Revert "add apply_prompt_template for WatsonX"

This reverts commit 3e80903796.

* add apply_prompt_template for WatsonX

* fix apply_prompt_template

* fix: add hf template handler

* fix hf_chat_template

* fix _get_tokenizer_config

* fix hf_chat_template

* add WatsonXModelPattern

* fix aapply_prompt_template
2025-10-08 15:39:36 -07:00
Krrish Dholakia
1c317a35af feat(mcp/): initial working list tools for openapi spec mcp tools 2025-10-08 15:32:31 -07:00
Krrish Dholakia
ff893cce42 feat(mcp_server_manager.py): working call tools for openapi to mcp servers 2025-10-08 15:31:52 -07:00
Krrish Dholakia
386468ad77 feat: initial commit for openapi to mcp conversion
allows users to give openapi spec for a server, and litellm to serve it as an mcp
2025-10-08 15:27:48 -07:00
Achintya Rajan
dceaf2f0f1 eliminates recursion for an explicit stack 2025-10-08 15:00:52 -07:00
Achintya Rajan
ce8a520a86 new deep merge behavior when processing config 2025-10-08 14:41:41 -07:00
Achintya Rajan
fe2d4addfa Update CreateKeyPage.expiredToken.test.tsx 2025-10-08 14:10:09 -07:00
Ishaan Jaffer
9d84a7cc8b Revert "fix: apply_prompt_template"
This reverts commit 3e0e40b497.
2025-10-08 13:56:47 -07:00
Ishaan Jaffer
3e0e40b497 fix: apply_prompt_template 2025-10-08 13:56:25 -07:00
Felipe Garé
f12b8bf2c1
feat(files): add @client decorator to file operations (#15339)
- Decorate sync/async file APIs (retrieve, delete, list, content) with @client
- Ensures calls route through the configured client, honoring provider/client config
- Standardizes behavior across file endpoints and aligns with existing patterns
- No API signature changes; improves consistency and client-bound usage
2025-10-08 13:42:34 -07:00
Achintya Rajan
d6852b11ae Create CreateKeyPage.expiredToken.test.tsx 2025-10-08 13:41:00 -07:00
Krrish Dholakia
45ec1ffdaa fix(ui/): set is sso modal visible to true for all users
allow backend to handle more complex state management
2025-10-08 13:13:21 -07:00
Achintya Rajan
7595acff42 empty commit for CI/CD 2025-10-08 12:03:44 -07:00
Sameer Kankute
0b6b69cd5b
fix issue with parsing assistant messages (#15320)
* Update factory.py

* reinclude the test cases

* fixed test

---------

Co-authored-by: Weijie <weijie-tan3@github.com>
2025-10-08 09:49:02 -07:00
Sameer Kankute
85d4142845 Fix litellm_param based costing 2025-10-08 21:14:23 +05:30
IQHL (Hans Jacob Landelius)
6633b33085 formatting 2025-10-08 14:15:15 +02:00
IQHL (Hans Jacob Landelius)
5b9d516e43 unit test 2025-10-08 13:58:25 +02:00
IQHL (Hans Jacob Landelius)
5a1b6fe1a6 Do not cooldown deployment if exception_status is empty string 2025-10-08 10:55:08 +02:00
Tim Elfrink
f8af72bbf1 fix: redact AWS credentials when redact_user_api_key_info enabled
Use SensitiveDataMasker in print_deployment() to mask all sensitive
credentials including AWS keys when redact_user_api_key_info is True.

Fixes #14839
2025-10-08 10:31:35 +02:00
Leslie Cheng
86affa405c Unused type 2025-10-07 21:11:56 -07:00
Leslie Cheng
f0c9dfbaf8 Add some tests 2025-10-07 20:57:08 -07:00
Leslie Cheng
1579752e06 Implement fix 2025-10-07 20:53:38 -07:00
Krish Dholakia
13703f289b
Merge pull request #15292 from timelfrink/fix/bedrock-prompt-caching-cost-calculation
fix(bedrock): include cacheWriteInputTokens in prompt_tokens calculation
2025-10-07 19:11:45 -07:00
Krish Dholakia
3f4d2c6ada
Add Cohere Embed v4 support for AWS Bedrock
Add Cohere Embed v4 support for AWS Bedrock
2025-10-07 19:10:22 -07:00
Krrish Dholakia
c671dceb24 feat(pass_through_endpoints.py): have updates not require pod restarts
ensures db updates work on live passthrough endpoints without requiring pod restarts
2025-10-07 19:03:32 -07:00
Ishaan Jaffer
5d6cd3ffed UI new build 2025-10-07 18:59:11 -07:00
Ishaan Jaffer
a8243079d3 doc fix 2025-10-07 18:51:27 -07:00
Ishaan Jaff
8a8cc5a1d3
[QA/Fixes] - Dynamic Rate Limiter v3 - final QA (#15311)
* fix: PriorityReservationSettings

* fix: use correct casting

* fix type casting
2025-10-07 18:42:17 -07:00
Krish Dholakia
1238464e20
Merge pull request #15303 from BerriAI/litellm_tenacity_upgrade
Upgrades tenacity version to 8.5.0
2025-10-07 18:19:52 -07:00