Commit graph

29199 commits

Author SHA1 Message Date
Dmitri Tikhonov
844d0d47b7
Fix tag management to preserve encrypted fields in litellm_params (#17484)
The _add_tag_to_deployment function was directly modifying the
deployment's litellm_params in memory and writing it back to the
database, which caused encrypted API keys and other sensitive fields
to be lost. This fix retrieves the model from the database first,
preserves all existing fields including encrypted ones, adds only the
new tag to the tags array, and updates the database with the modified
params while keeping encrypted fields intact.

Added comprehensive unit tests covering preservation of encrypted
fields, handling of both string and dict litellm_params formats,
duplicate tag prevention, and error handling for missing models.

Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude <noreply@anthropic.com>
2025-12-18 02:28:39 +05:30
superpoussin22
1d54c4502d
Add diarize model for openai (#18117)
* Add pricing and configuration for gpt-4o-transcribe-diarize

* Add GPT-4o transcription pricing and settings
2025-12-18 02:25:42 +05:30
Alexsander Hamir
4134fab74d
add: new security scan (#18148) 2025-12-17 12:53:15 -08:00
Ishaan Jaffer
c721c18169 add new docker v 2025-12-18 02:21:36 +05:30
Ishaan Jaff
539f629eff
[Feat] New Logging Integration - Azure Sentinel Logger (#18146)
* add AzureSentinelLogger

* logging: AzureSentinelLogger

* test_azure_sentinel_signature_and_send_batch

* docs azure sentinel

* fix AzureSentinelLogger

* test fix

* docs fix

* fix: AzureSentinelLogger

* docs sentintel

* feat: add example SLP

* docs sentinel

* docs fix

* docs fix

* docs fix

* fix code qa

* QA fix

* fix test

* TestInitializeInteractionsEndpoints
2025-12-18 02:04:49 +05:30
yuneng-jiang
087dfbf648 Merge remote-tracking branch 'origin' into litellm_email_budget_alerts_2 2025-12-17 11:37:49 -08:00
yuneng-jiang
8cdb481832 Merge remote-tracking branch 'origin' into litellm_new_user_collision_handling 2025-12-17 11:34:46 -08:00
yuneng-jiang
49a1e50672
Merge pull request #17912 from BerriAI/litellm_dd_callback_fix
[Fix] Callback Environment Variables Casing
2025-12-17 11:33:41 -08:00
yuneng-jiang
202f71c13a
Merge pull request #17752 from BerriAI/litellm_ui_model_test_connection_fix
[Fix] /health/test_connection to resolve env variables like /chat/completions
2025-12-17 11:06:57 -08:00
yuneng-jiang
70f7c8b771 Merge remote-tracking branch 'origin' into litellm_dd_callback_fix 2025-12-17 11:05:46 -08:00
yuneng-jiang
358ee482e2
Merge pull request #18078 from BerriAI/litellm_sso_readiness_route
[Feature] SSO Readiness Health Check
2025-12-17 11:03:53 -08:00
Alexsander Hamir
ddd547afad
fix: remove fake keys causing security scans to fail (#18140) 2025-12-17 10:14:06 -08:00
Sameer Kankute
4cc186cabb
Merge pull request #18139 from BerriAI/litellm_fix_image_url
fix image url
2025-12-17 23:36:39 +05:30
Sameer Kankute
57e44cc193 fix image url 2025-12-17 23:35:52 +05:30
Sameer Kankute
f5de678f4d
Merge branch 'main' into litellm_fix_custom_gaurdrail_fix 2025-12-17 23:00:46 +05:30
Sameer Kankute
fac3dd51d4 fix mypy error 2025-12-17 22:58:58 +05:30
Sameer Kankute
cb6878cdac
Merge pull request #18115 from BerriAI/litellm_bedrock_image_gaurdrail_support1
Add support for bedrock image gaurdrails
2025-12-17 22:58:24 +05:30
Sameer Kankute
e8e3c65434
Merge pull request #18121 from BerriAI/litellm_image_edit_vertex_cred_fix
fix: Vertex AI image edit credential source
2025-12-17 22:56:57 +05:30
Sameer Kankute
a13611dcdb
Merge branch 'main' into litellm_image_edit_vertex_cred_fix 2025-12-17 22:38:07 +05:30
Sameer Kankute
230db7e161
Merge pull request #18100 from BerriAI/litellm_bedrock_qwen_arn_fix
fix: Add qwen 2 and qwen 3 in get_bedrock_model_id
2025-12-17 22:34:05 +05:30
Sameer Kankute
25f2213262
Merge pull request #18135 from BerriAI/litellm_gemini_flash_day_0
feat: gemini-3-flash-preview day 0 support
2025-12-17 22:30:10 +05:30
Sameer Kankute
95b2e72dfc
Merge pull request #18105 from BerriAI/litellm_staging_12_17_2025
Staging - 12/17/2025
2025-12-17 22:23:21 +05:30
Sameer Kankute
8e2a91c0c1 fix:mypy errors for litellm_staging_12_17_2025 2025-12-17 22:16:46 +05:30
Sameer Kankute
c310e95004 fix PLR0915 of async_post_call_streaming_iterator_hook 2025-12-17 22:15:53 +05:30
Sameer Kankute
a2a81e7dfa remove extra model check 2025-12-17 21:53:21 +05:30
Sameer Kankute
c1fc6649f7 remove not required text 2025-12-17 21:50:54 +05:30
Sameer Kankute
e3cf0110bb Rename: gemini-3-flash-preview 2025-12-17 21:48:15 +05:30
Alexsander Hamir
e96b301642
Fix: Prevent LiteLLM API key leakage on /health endpoint failures (#18133) 2025-12-17 08:08:05 -08:00
Sameer Kankute
e7b8d2290f fix: update the blog according to the comments 2025-12-17 18:03:54 +05:30
Sameer Kankute
78d67837cd Add gemini 3 flash blog 2025-12-17 18:03:54 +05:30
Sameer Kankute
22e86cde2a Add support for gemini 3 flash via v1/messages endpoint 2025-12-17 18:03:54 +05:30
Sameer Kankute
ba90985300 Add reasoning effort mapping 2025-12-17 18:03:48 +05:30
Sameer Kankute
8e53d4f3eb Add support for structured output thinkingConfig param 2025-12-17 18:02:15 +05:30
Sameer Kankute
ed6c66c20c Add support for structured output thinkingConfig param 2025-12-17 18:02:15 +05:30
Sameer Kankute
9e3f946a2e Add support for new flash model 2025-12-17 18:02:14 +05:30
Sameer Kankute
969ed1efb8 fix: Vertex AI image edit credential source 2025-12-17 15:56:10 +05:30
Sameer Kankute
085b07cdde Add test for handling gaurdrails param 2025-12-17 14:12:27 +05:30
Sameer Kankute
a1536fdd87 Add conversion of gaurdrail params into bedrock headers 2025-12-17 14:12:27 +05:30
Sameer Kankute
b7550ea2d4 Add test for gaurdrail in passthrough 2025-12-17 12:52:21 +05:30
Sameer Kankute
155532085b Add allm_passthrough_route in _get_pre_call_type 2025-12-17 12:51:46 +05:30
Sameer Kankute
46018bd801 fix: TypeError: TypedDict does not support instance and class checks 2025-12-17 12:47:15 +05:30
Sameer Kankute
2e62dfa319 fix: get_call_types_for_route should return None instead of empty list 2025-12-17 12:46:09 +05:30
Sameer Kankute
4b7589486e Fix: Add handling if call_type is None 2025-12-17 12:43:41 +05:30
Curtis
d1c6eb3a7c
fix(image_edit): add drop_params support and fix Vertex AI config (#18077) 2025-12-17 11:28:34 +05:30
yuneng-jiang
9faee8bba6
Merge pull request #17989 from Jetemple/non-root-ui-path-fix
fix: update UI path handling for non-root Docker and restructure HTML…
2025-12-16 21:57:31 -08:00
Sameer Kankute
d547b43beb
Merge pull request #18107 from BerriAI/litellm_add_gpt_1.5_image
Add gpt-image-1.5-2025-12-16 in model cost map
2025-12-17 11:24:12 +05:30
jk-f5
576580244f
fix(azure_ai): return AzureAnthropicConfig for Claude models in get_provider_chat_config (#18086)
Claude models on Azure AI were incorrectly using AzureAIStudioConfig,
causing tool calls to fail with invalid_request_error because tools
remained in OpenAI format instead of being transformed to Anthropic format.
2025-12-17 11:24:04 +05:30
Xiaohan Fu
aac17e5e22
various fixes for openrouter driven models (/messages and its streaming) and introduce the option to send all chunked responses in stream towards the guardrail. (#18085) 2025-12-17 11:21:26 +05:30
Sameer Kankute
8f7ea945f1 add cached token pricing 2025-12-17 11:20:00 +05:30
Shivam Rawat
14a4a9c031
added extraction of top level metadata for custom lables in prometheus callbacks (#18087) 2025-12-17 11:17:12 +05:30