yuneng-jiang
47810f1523
Model and Team filtering
2026-01-24 14:45:14 -08:00
Ishaan Jaffer
31a4cb65bf
test_get_default_unvicorn_init_args
2026-01-24 12:59:51 -08:00
yuneng-jiang
5e395db1dc
Merge pull request #19604 from BerriAI/litellm_team_update_org
...
[Fix] Team Update with Organization having All Proxy Models
2026-01-24 09:09:55 -08:00
yuneng-jiang
f88a32de05
Merge pull request #19622 from BerriAI/litellm_ui_model_backend
...
[Feature] UI - Models Page: Model Search
2026-01-24 09:09:03 -08:00
yuneng-jiang
b44ac6c682
Fixing ruff check
2026-01-24 09:08:29 -08:00
Harshit Jain
09b07df587
fix: propagate JWT auth metadata to OTEL spans ( #19627 )
2026-01-23 21:21:23 -08:00
jquinter
f43757f71b
Feature/guardrail model argument ( #19619 )
...
* [Feat] Add model parameter to Generic Guardrail API
Add model information to guardrail requests, allowing guardrails to make
model-specific security decisions.
Changes:
- Add `model` field to GenericGuardrailAPIInputs TypedDict
- Add `model` field to GenericGuardrailAPIRequest Pydantic model
- Update OpenAI and Anthropic handlers to pass model from request/response
- Add unit tests for model parameter handling
* [Feat] Add model parameter to all guardrail_translation handlers
Extend model parameter support to all guardrail handlers for consistent
implementation across all endpoint types:
- OpenAI Responses API (input/output + streaming)
- OpenAI Image Generation (input only)
- OpenAI Text Completion (input/output)
- OpenAI Text-to-Speech (input only)
- OpenAI Audio Transcription (output only)
- Cohere Rerank (input only)
- Pass-through Endpoints (input/output)
- MCP Server (input only)
This addresses the review feedback requesting consistent model parameter
handling across all guardrail_translation/handler.py files.
---------
Co-authored-by: Igal Boxerman <igal@pillar.security>
2026-01-23 20:48:42 -08:00
John Greek
4c5351f43b
[Fix] Password comparison with non-ASCII characters ( #19559 ) ( #19568 )
2026-01-23 20:27:42 -08:00
Misha
de538456e3
feat: support role_mappings from environment variables ( #19498 )
...
* feat: support role_mappings from environment variables
* fix linter
2026-01-23 19:54:23 -08:00
Ishaan Jaff
a870722f65
[Feat] UI + Backend - Allow adding policies on Keys/Teams + Viewing on Info panels ( #19688 )
...
* ui for policy mgmt
* test_add_guardrails_from_policy_engine_accepts_dynamic_policies_and_pops_from_data
2026-01-23 19:03:44 -08:00
yuneng-jiang
8b5b343841
attempt fix flaky tests
2026-01-23 12:10:08 -08:00
xqe2011
ca8c2c3938
fix #19620 : SSO user roles are not updated for existing users ( #19621 )
...
* Fix: SSO user roles are not updated for existing users
Fixes #19620
* Refactor: Remove redundant user_info retrieval in SSOAuthenticationHandler
* Test: add new tests for user creation and updates in get_user_info_from_db
2026-01-23 09:05:29 -08:00
Sameer Kankute
9894721285
Merge pull request #19548 from BerriAI/litellm_staging_01_22_2026
...
Litellm staging 01 22 2026
2026-01-23 20:03:11 +05:30
Sameer Kankute
12463809bd
Merge pull request #19638 from BerriAI/main
...
merge main in stagin 1 22 26
2026-01-23 14:54:17 +05:30
Yuta Saito
695fbf4ec5
feat: hashicorp vault rotate support
2026-01-23 17:32:55 +09:00
yuneng-jiang
3ee7aab5f2
All Models Backend Search
2026-01-22 22:00:22 -08:00
Harshit Jain
69c8698e62
fix: pass through endpoints update registry ( #19420 )
...
* fix: pass through endpoints update registry
* add test case, fix lint error and comment to avoid confusion
* fix pass through endpoints test case
2026-01-22 19:57:48 -08:00
Ishaan Jaff
c23e4b87dc
[Feat] New LiteLLM Policy engine - create policies to manage guardrails, conditions - permissions per Key, Team ( #19612 )
...
* init PolicyMatcher
* TestPolicyMatcherGetMatchingPolicies
* TestPolicyMatcherGetMatchingPolicies
* feat: init PolicyResolver
* init resolver types
* init policy from config
* inint PolicyValidator
* validate policy
* init Architecture Diagram
* test_add_guardrails_from_policy_engine
* init _init_policy_engine
* test updates
* test fixws
* new attachment config
* simplify types
* TestPolicyResolverInheritance
* fix policy resolver
* fix policies
* fix applied policy
* docs fix
* docs fix
* fix linting + QA checks
* fix linting + QA fixes
* test fixes
2026-01-22 19:49:53 -08:00
yuneng-jiang
f78fc4e0fe
Fix org all proxy model case
2026-01-22 15:32:10 -08:00
Sameer Kankute
c78c878822
Merge pull request #19558 from BerriAI/litellm_gemini_vertexai_mapping
...
Add custom vertex ai mapping to the output
2026-01-22 19:44:32 +05:30
Sameer Kankute
991fee056f
Fix batch tests
2026-01-22 19:23:32 +05:30
Sameer Kankute
ad1edd38d5
Merge branch 'main' into litellm_staging_01_21_2026
2026-01-22 17:56:40 +05:30
Emerson Gomes
a3f7f5858b
Fix date overflow/division by zero in proxy utils ( #19527 )
...
* Fix date overflow/division by zero in proxy utils
* Fix projected spend calculation
* Strengthen projected spend tests
2026-01-21 21:09:57 -08:00
davida-ps
7777aeb695
fixing prompt-security's guardrail implementation ( #19374 )
...
* Consolidated change
* fix(prompt_security): update message processing to persist sanitized files and filter for API calls
* fix per krrishdholakia suggestion
2026-01-21 20:09:40 -08:00
jay prajapati
0e738a5027
fix(mcp): forward static_headers to MCP servers ( #19341 ) ( #19366 )
...
Forward static_headers from /mcp-rest/test/* routes into the MCP client so headers are present during session.initialize() and tool discovery.
Also add a shared merge_mcp_headers() helper to keep header precedence consistent and ensure OpenAPI-to-MCP generated tools include static_headers.
Tests:
- pytest tests/test_litellm/proxy/_experimental/mcp_server/test_rest_endpoints.py
- pytest tests/test_litellm/proxy/_experimental/mcp_server/test_mcp_server_manager.py -k register_openapi_tools_includes_static_headers
Fixes #19341
Co-authored-by: Krish Dholakia <krrishdholakia@gmail.com>
2026-01-21 19:30:55 -08:00
Ishaan Jaff
d5e912322f
[Fix] VertexAI Pass through - Ensure only anthropic betas are forwarded down to LLM API ( #19542 )
...
* fix ALLOWED_VERTEX_AI_PASSTHROUGH_HEADERS
* test_vertex_passthrough_forwards_anthropic_beta_header
* fix test_vertex_passthrough_forwards_anthropic_beta_header
* test_vertex_passthrough_does_not_forward_litellm_auth_token
* fix utils
* Using Anthropic Beta Features on Vertex AI
* test_forward_headers_from_request_x_pass_prefix
2026-01-21 19:12:04 -08:00
yuneng-jiang
6b6785bc4f
Merge pull request #19539 from BerriAI/litellm_models_scope
...
[Feature] Adding Optional scope Param to /models
2026-01-21 17:41:22 -08:00
yuneng-jiang
c6b157832b
Merge pull request #19296 from BerriAI/litellm_esca_reissue
...
[Reissue: Fix] /user/new Privilege Escalation
2026-01-21 16:46:34 -08:00
yuneng-jiang
6723b30d03
Adding scope to /models
2026-01-21 16:40:31 -08:00
YutaSaito
4a14a53ae8
Merge pull request #19469 from BerriAI/litellm_feat_mcp_spendlogs
...
[feat] mcp spendlogs
2026-01-22 05:29:21 +09:00
Ishaan Jaff
5cb5969a26
[Fix] LiteLLM VertexAI Pass through - ensuring incoming headers are forwarded down to target ( #19524 )
...
* test_vertex_passthrough_forwards_anthropic_beta_header
* add_incoming_headers
2026-01-21 12:01:33 -08:00
yuneng-jiang
d0e35751a1
Fixing tests and linting
2026-01-21 11:02:39 -08:00
yuneng-jiang
b5a7d2ab34
Paginating model/info endpoint
2026-01-21 10:44:18 -08:00
Sameer Kankute
d879dcdcef
Revert "Fix/prisma schema permission ( #19391 )"
...
This reverts commit 75ee0d126c .
2026-01-21 17:19:32 +05:30
Sameer Kankute
a1aba2ed8d
Merge pull request #19491 from BerriAI/main
...
merge main 20 1 25
2026-01-21 16:40:48 +05:30
Yuta Saito
caf5f7f8ae
test: add test
2026-01-21 14:51:56 +09:00
Harshit Jain
b36e704e06
fix: ensure auto-rotation updates existing AWS secret instead of creating new one ( #19455 )
2026-01-20 18:30:36 -08:00
yuneng-jiang
232ae52b94
attempt test_route_checks fix
2026-01-20 15:55:44 -08:00
Harshit Jain
20323feecc
fix(prompts): fix prompt info lookup and delete using correct IDs ( #19358 )
...
* fix(prompts): fix prompt info lookup and delete using correct IDs
* add regression tests cases
2026-01-20 12:28:34 -08:00
Harshit Jain
75ee0d126c
Fix/prisma schema permission ( #19391 )
...
* fix: add prisma permission issue
* Add test case for prisma generate
2026-01-20 09:53:16 -08:00
Sameer Kankute
deb9142117
Merge pull request #19400 from BerriAI/main
...
merge main iin 19/1 staging
2026-01-20 16:45:01 +05:30
YutaSaito
00814d4d90
Merge pull request #19379 from BerriAI/litellm_feat_mcp_version_up
...
[feat] mcp version up
2026-01-20 13:09:29 +09:00
Ishaan Jaff
818913ee23
[Fix] Fix Pass through routes to work with server root path ( #19383 )
...
* test_build_full_path_with_root_default
* fix pt feat
2026-01-19 18:28:55 -08:00
Yuta Saito
ec7bf0ff1a
Merge remote-tracking branch 'upstream/main' into litellm_feat_mcp_version_up
2026-01-20 09:52:38 +09:00
Yuta Saito
05d9fb6fd6
feat: SEP-986
2026-01-20 07:24:39 +09:00
Sameer Kankute
d6baa9a4ba
Merge pull request #19234 from BerriAI/litellm_staging_01_16_2026
...
Litellm staging 01 16 2026
2026-01-19 19:34:53 +05:30
Harshit Jain
1dc2d2ddac
fix(utils.py): correctly extract messages from google genai contents ( #19156 )
...
* fix(utils.py): correctly extract messages from google genai contents
* refactor use shared utilities
2026-01-19 06:00:23 -08:00
Sameer Kankute
daf70f7221
Merge pull request #19329 from BerriAI/litellm_vector_store_sync
...
Fix: vector store sync issues
2026-01-19 19:11:48 +05:30
Sameer Kankute
c5a8d4e34e
Merge branch 'main' into litellm_staging_01_16_2026
2026-01-19 18:11:21 +05:30
Sameer Kankute
eea24978b9
Add managed files support when load_balancing is True
2026-01-19 15:54:04 +05:30