Commit graph

26281 commits

Author SHA1 Message Date
Ishaan Jaffer
5384c2a770 test_acompletion_fake_streaming 2025-10-10 11:28:01 -07:00
Ishaan Jaffer
7a4c6344ea fix gemma: stream param 2025-10-10 11:22:15 -07:00
Ishaan Jaffer
b30ed3e801 fix: async transform 2025-10-10 11:12:10 -07:00
Ishaan Jaffer
04770f7e00 test_acompletion_basic_request 2025-10-10 11:11:25 -07:00
Ishaan Jaffer
e9ac4bfc0e Revert "test_acompletion_basic_request"
This reverts commit fdaa5bc49e.
2025-10-10 11:11:00 -07:00
Ishaan Jaffer
fdaa5bc49e test_acompletion_basic_request 2025-10-10 11:10:37 -07:00
Ishaan Jaffer
68a6e4aa27 docs fix 2025-10-09 18:56:15 -07:00
Ishaan Jaffer
25a001c65e docs fix 2025-10-09 18:53:50 -07:00
Ishaan Jaffer
0250200216 Merge branch 'main' into litellm_vertex_gemma_model_family 2025-10-09 18:53:02 -07:00
Ishaan Jaffer
a724846935 ruff check fixes 2025-10-09 18:52:38 -07:00
Ishaan Jaffer
799a55cc38 test fix 2025-10-09 18:50:33 -07:00
Ishaan Jaffer
982b058172 fix ids 2025-10-09 18:49:39 -07:00
Ishaan Jaffer
1b19f94aac docs gemma 2025-10-09 18:45:13 -07:00
Alexsander Hamir
76a614bc76
fix: remove panic from hot path (#15396) 2025-10-09 18:43:44 -07:00
Ishaan Jaffer
531c49afc2 fix Vertex AI Gemma-AI Models Handler 2025-10-09 18:41:36 -07:00
Ishaan Jaffer
e97b96ab20 fix VertexGemmaConfig 2025-10-09 18:40:56 -07:00
Ishaan Jaffer
8b17b5bfc2 fix main.py 2025-10-09 18:40:34 -07:00
Ishaan Jaffer
5ce27bfad6 add cost_router for vertexai 2025-10-09 18:39:29 -07:00
Ishaan Jaffer
be7c24ebf5 add VertexAIGemmaModels 2025-10-09 18:39:15 -07:00
Ishaan Jaffer
b89d7b0be3 fix file naming 2025-10-09 18:38:00 -07:00
Ishaan Jaffer
581bdfd6d7 fix file name 2025-10-09 18:33:55 -07:00
Ishaan Jaffer
3a962d56e0 test vertex Gemma 2025-10-09 18:31:12 -07:00
Ishaan Jaffer
999c561179 TestVertexGemmaiCompletion 2025-10-09 18:31:03 -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
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
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
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
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
Krish Dholakia
7b9897e88f
Merge pull request #15321 from timelfrink/fix/redact-aws-credentials
fix: redact AWS credentials when redact_user_api_key_info enabled
2025-10-09 07:26:40 -07:00
Krrish Dholakia
f88e3ebdfa docs: refactor to have function call / computer use / etc. on top level 2025-10-09 07:25:25 -07:00
Tim Elfrink
56b2c914ed Apply isort formatting to router.py imports 2025-10-09 08:13:16 +02:00
Tim Elfrink
02f0b1e83a Merge latest changes from origin/main into fix/redact-aws-credentials
Resolved import conflict for CustomPricingLiteLLMParams which was moved
from litellm.types.router to litellm.types.utils in main branch.
2025-10-09 08:12:22 +02:00
Krish Dholakia
e2e0cdde31
Merge pull request #15315 from lcfyi/lcfyi/add-support-for-parallel-tool-calls
Fix parallel tool calls in the Anthropic passthrough adapter
2025-10-08 23:01:55 -07:00
Krish Dholakia
4615298ba1
Merge pull request #15336 from BerriAI/litellm_fix_litellm_Param_costing
Fix litellm_param based costing
2025-10-08 22:55:41 -07:00
Sameer Kankute
e4b89813a5 Add remaining cost fields 2025-10-09 08:40:06 +05:30
Ishaan Jaffer
763d2f8ccd UI new build 2025-10-08 19:57:33 -07:00
Krish Dholakia
753ce49cdd
Merge pull request #15346 from BerriAI/litellm_dev_10_08_2025_p2
MCP - specify allowed params per tool
2025-10-08 19:27:55 -07:00
Krish Dholakia
a02b3caef3
Merge branch 'main' into litellm_dev_10_08_2025_p2 2025-10-08 19:27:24 -07:00
Achintya Rajan
95e71b31a8 Update test_proxy_utils.py 2025-10-08 19:25:54 -07:00
Achintya Rajan
169c1f0f21 moved test to test_proxy_server 2025-10-08 19:24:16 -07:00
Krish Dholakia
94e623fb14
Merge pull request #15236 from BerriAI/litellm_ui_refactor_genesis
LiteLLM UI Refactor Infrastructure
2025-10-08 19:19:02 -07:00
Krrish Dholakia
e2b7b05774 docs(mcp.md): document new openapi to mcp tool support 2025-10-08 19:16:22 -07:00
Krish Dholakia
d921df1baf
Merge pull request #15343 from BerriAI/litellm_dev_10_08_2025_p1
MCP - support converting OpenAPI specs to MCP servers
2025-10-08 19:10:04 -07:00
Krrish Dholakia
5be198248b fix: fix linting error 2025-10-08 19:07:11 -07:00
Krrish Dholakia
37fdb486d4 refactor: comment out oauth error raising logic for now 2025-10-08 19:06:19 -07:00
Krish Dholakia
8cbc85578e
Merge pull request #15351 from BerriAI/litellm_dev_10_08_2025_p3
SSO - support EntraID app roles
2025-10-08 19:04:00 -07:00
Krish Dholakia
adbdf9dae9
Merge pull request #14470 from BerriAI/litellm_dev_09_11_2025_p1
AzureAD Default credentials - select credential type based on environment
2025-10-08 19:03:07 -07:00