Commit Graph

30881 Commits

Author SHA1 Message Date
Krish Dholakia
192097813a
Merge pull request #15418 from BerriAI/litellm_ui_teams_refactor_2
LiteLLM Dashboard Teams UI refactor
2025-10-10 13:06:54 -07:00
Krish Dholakia
419a5e8a2d
Merge pull request #15421 from BerriAI/litellm_ui_guardrails_provider_logos_updates
Updates guardrail provider logos
2025-10-10 13:04:34 -07:00
Achintya Rajan
824517ee37 updates guardrail provider logos 2025-10-10 11:39:14 -07:00
Sameer Kankute
513925fd12
Add OCI Cohere support with tool calling and streaming capabilities (#15365)
* Add cohere models for OCI integration

* fix mypy error
2025-10-10 11:20:18 -07:00
Achintya Rajan
6d5c76d81b Empty commit for file merge diff 2025-10-10 10:30:28 -07:00
Achintya Rajan
c4ed4916e9 Empty commit for CI/CD 2025-10-10 10:29:37 -07:00
Achintya Rajan
b4444ead0d rebased, removed unused imports 2025-10-10 10:25:48 -07:00
Achintya Rajan
73eafed51c removed unused imports 2025-10-10 10:25:00 -07:00
Achintya Rajan
5fca481ebb removing unused imports 2025-10-10 10:24:57 -07:00
Krish Dholakia
d944717d4b
Merge pull request #15278 from xprilion/wandb-inference-docs
Add W&B Inference documentation
2025-10-09 22:35:16 -07:00
Krish Dholakia
9c3e29b9f0
Merge pull request #15330 from jlan-nl/litellm-fix-erroneous-gpt5-cooldown-trigger
Minimal fix: gpt5 models should not go on cooldown when called with temperature!=1
2025-10-09 22:34:30 -07:00
Krish Dholakia
ab2f866510
Merge pull request #15363 from vkolehmainen/fix-20250918083359_drop_spec_version_column_from_mcp_table
Remove hardcoded "public" schema in 20250918083359_drop_spec_version_column_from_mcp_table/migration.sql
2025-10-09 22:27:02 -07:00
Krish Dholakia
611a876889
Merge pull request #15380 from BerriAI/litellm_shared_heatlh_status
Implement Shared Health Check State Across Pods
2025-10-09 22:25:45 -07:00
Krish Dholakia
e1e1ea31dc
Merge pull request #15379 from PostHog/feat/posthog-per-request-api-key
feat: posthog per request api key
2025-10-09 22:24:51 -07:00
Krish Dholakia
9c50d0f057
Merge pull request #15383 from zainhas/patch-1
Add new together models
2025-10-09 22:20:45 -07:00
Krish Dholakia
039c7e0f11
Merge pull request #15384 from BerriAI/litellm_ui_teams_team_role_column
Teams page: new column "Your Role" on the teams table
2025-10-09 22:19:51 -07:00
Krish Dholakia
667339410f
Merge pull request #15391 from uc4w6c/fix/mcp-call-tool-context
fix: Ensure MCP client stays open during tool call
2025-10-09 22:18:23 -07:00
Krish Dholakia
f97b0e182a
Merge branch 'main' into fix/mcp-call-tool-context 2025-10-09 22:17:34 -07:00
Alexsander Hamir
1c7463f42f
[Perf]: optimize SSL/TLS handshake performance with prioritized cipher (#15398)
* perf: optimize SSL/TLS handshake performance with prioritized cipher suites

Add configurable SSL cipher suite list that strongly prefers fast modern
ciphers (TLS 1.3, ECDHE+GCM) while maintaining backward compatibility with
widely-supported fallback ciphers. Set minimum TLS version to 1.2 for
better performance.

Changes:
- Add DEFAULT_SSL_CIPHERS constant with prioritized cipher list
  (configurable via LITELLM_SSL_CIPHERS env var)
- Update get_ssl_configuration() to apply optimized ciphers by default
- Set TLS minimum version to 1.2
- Preserve existing ssl_security_level parameter for custom configs

This balances handshake performance (~50-100ms with modern ciphers) with
broad provider compatibility.

* fix: missing documented constants
2025-10-09 19:21:37 -07:00
Ishaan Jaff
52bbabd788
[Feat] Support for Vertex AI Gemma Models on Custom Endpoints (#15397)
* TestVertexGemmaiCompletion

* test vertex Gemma

* fix file name

* fix file naming

* add VertexAIGemmaModels

* add cost_router for vertexai

* fix main.py

* fix VertexGemmaConfig

* fix Vertex AI Gemma-AI Models Handler

* docs gemma

* fix ids

* test fix

* ruff check fixes

* docs fix

* docs fix
2025-10-09 19:20:02 -07:00
Alexsander Hamir
76a614bc76
fix: remove panic from hot path (#15396) 2025-10-09 18:43:44 -07:00
Ishaan Jaff
4827e62a21
Fix - OpenRouter cache_control to only apply to last content block (#15395)
* fix: _move_cache_control_to_content

* test_openrouter_transform_request_with_cache_control_list_content

* fix code QA check

* fix: mypy lint

* fix handlers

* fix mypy

* fix - refactor code, fixes for QA checks
2025-10-09 18:01:33 -07:00
ashengstd
2686156c37
temporarily relax ResponsesAPIResponse parsing to support custom backends (#15362)
- Replace `ResponsesAPIResponse(**raw_response_json)` with
  `ResponsesAPIResponse.model_construct(**raw_response_json)`
  to bypass strict Pydantic validation.
- Allows Response API to work with self-hosted or non-strict models
  (e.g., vLLM) without raising literal/type errors.
- This is a temporary, low-risk relaxation to improve compatibility
  with more backend implementations.
2025-10-09 17:46:10 -07:00
Krrish Dholakia
f2d4f03339 feat(pass_through_endpoints.py): only show available pass through endpoints based on what teams has access to
makes it easier to control access
2025-10-09 17:45:14 -07:00
Achintya Rajan
accc42ca2e added back old teams for regression protection 2025-10-09 17:44:36 -07:00
Achintya Rajan
b4bcc7143c Update README.md 2025-10-09 17:39:29 -07:00
Krish Dholakia
eb0b263532
Merge pull request #15340 from BerriAI/litellm_db_config_accidental_override_fix
fix: Prevents DB from accidentally overriding config file values if they are empty in DB
2025-10-09 17:31:59 -07:00
Achintya Rajan
93868eb92b Create README.md 2025-10-09 17:28:28 -07:00
Krrish Dholakia
5aa5a3b425 fix(route_checks.py): support team metadata 2025-10-09 17:18:38 -07:00
Krrish Dholakia
82d7a7248e feat(teams/): support allowed_passthrough_routes on team create + update
allows admin to specify what passthrough routes the team has access to
2025-10-09 17:11:57 -07:00
Alexsander Hamir
c7234ba053
[Fix] - Sessions not being shared (#15388)
* fix: share sessions

* fix: remove limit

* clean up

* fix: add missing consts

* add: E2E test

* fix: remove redefinition of unused verbose_logger

* fix: missing const import
2025-10-09 16:57:40 -07:00
Ishaan Jaff
ec234abb52
fix - param (#15394) 2025-10-09 16:50:11 -07:00
Krrish Dholakia
f608aefc2d feat(proxy/_types.py): make setting allowed passthrough routes a premium field on key/team 2025-10-09 16:36:39 -07:00
Krrish Dholakia
ce8c481431 fix(key_edit_view.tsx): allow setting allowed pass through routes by key on key update, on the ui 2025-10-09 16:35:56 -07:00
Achintya Rajan
679cf54c6e adds vitests surrounding new components 2025-10-09 16:30:32 -07:00
Krrish Dholakia
c553bfbf66 feat(create_key_button.tsx): support setting passthrough endpoints by key on the UI 2025-10-09 16:29:30 -07:00
Ishaan Jaffer
be587363f3 docs fix 2025-10-09 16:28:38 -07:00
Ishaan Jaff
6cf57d85c3
[Feat] Add EnkryptAI Guardrails on LiteLLM (#15390)
* feat: add EnkryptAIGuardrail

* fix types

* fix EnkryptAIGuardrails

* __all__ = ["EnkryptAIGuardrail"]
fix

* fix EnkryptAIGuardrail

* TestEnkryptAIExtraction

* fix mypy linting

* docs enkrypt ai

* add EnkryptAIGuardrailConfigModel

* fix EnkryptAIGuardrailConfigModel

* fix import struct

* fix EnkryptAIGuardrails
2025-10-09 16:27:04 -07:00
Achintya Rajan
dce17a8d16 added column "Your Role" with admin and member badges 2025-10-09 16:26:11 -07:00
Krrish Dholakia
443b702f97 feat(_types.py): support setting allowed passthrough routes on keys + teams
ensures specific keys can call specific routes
2025-10-09 16:14:59 -07:00
Krrish Dholakia
42f9d44753 refactor: reduce function size below 50 LOC 2025-10-09 15:48:10 -07:00
Krrish Dholakia
1d26397f17 fix(route_checks.py): ensure allowed passthrough endpoint routes are respected 2025-10-09 15:46:15 -07:00
Krrish Dholakia
ecc391be6b fix(key_management_endpoints.py): support new allowed_passthrough_routes param on key generate
allows admin to give devs access to specific passthrough endpoints

 Work for LIT-1182
2025-10-09 15:35:31 -07:00
Emerson Gomes
22df8de01f
Add new Azure AI models with pricing details (#15387)
Adding missing Azure AI models:

* Phi-4-reasoning
* Phi-4-mini-reasoning
* MAI-DS-R1
2025-10-09 15:25:22 -07:00
Yuta Saito
2b1c061d35 fix: lint error 2025-10-10 07:24:33 +09:00
Krrish Dholakia
732495fb3a fix(route_checks.py): handle route prefixes 2025-10-09 15:16:10 -07:00
Yuta Saito
3035305c76 fix: Ensure MCP client stays open during tool call 2025-10-10 07:15:32 +09:00
Achintya Rajan
310b2da33e abbreviates large spend values, increases y-axis width 2025-10-09 14:54:21 -07:00
Krrish Dholakia
ace862189c test(test_mcp_server_manager.py): add unit testing 2025-10-09 14:52:46 -07:00
Krrish Dholakia
d956f7417f fix(client.py): fix rest api tool call 2025-10-09 14:42:04 -07:00