Commit graph

30947 commits

Author SHA1 Message Date
Yuneng Jiang
fe7b572bfb
chore: fixes
Some checks failed
Unit Tests: Caching (Redis) / caching-redis (push) Has been cancelled
Unit Tests: Proxy DB Operations / proxy-db (auth-checks, tests/proxy_unit_tests/test_auth_checks.py tests/proxy_unit_tests/test_user_api_key_auth.py, 20, 8) (push) Has been cancelled
Unit Tests: Proxy DB Operations / proxy-db (key-generation, tests/proxy_unit_tests/test_key_generate_prisma.py, 30, 0) (push) Has been cancelled
Unit Tests: Proxy DB Operations / proxy-db (remaining, tests/proxy_unit_tests --ignore=tests/proxy_unit_tests/test_key_generate_prisma.py --ignore=tests/proxy_unit_tests/test_auth_checks.py --ignore=tests/proxy_unit_tests/test_user_api_key_auth.py, 20, 8) (push) Has been cancelled
Unit Tests: Security / security (push) Has been cancelled
2026-04-05 01:02:20 -07:00
Alexsander Hamir
db63ce4f07 Merge branch 'main' into litellm_json_log_issue_0001 2026-01-24 11:08:01 -08:00
Alexsander Hamir
bb8db53e47 remove changes to dependency files 2026-01-24 10:21:31 -08:00
Alexsander Hamir
e532be8fc3 Revert "Add uvicorn JSON log configuration to prevent duplicate logging"
This reverts commit 8a252729ea.
2026-01-24 10:17:15 -08:00
Alexsander Hamir
35f005b1be fix: avoid duplicate proxy-extras logs 2026-01-24 09:58:00 -08:00
Alexsander Hamir
3e2ce49b0d fix: eliminate JSON logging duplication in litellm-proxy-extras
- Integrate litellm_proxy_extras logger with global JSON logging setting
- Prevent log propagation to avoid duplicate text/JSON output
- Use consistent JSON format when json_logs is enabled
- Simplify logging implementation for maintainability

Fixes issue where proxy startup logs appeared twice (text + JSON)
when json_logs: true was configured.
2026-01-24 09:36:53 -08:00
Alexsander Hamir
5c61586e65
Add GCS mock mode for testing without API calls (#19683) 2026-01-23 16:25:32 -08:00
Alexsander Hamir
56883add3c
Add Langfuse mock mode for testing without API calls (#19676) 2026-01-23 15:33:40 -08:00
yuneng-jiang
22a268c544
Merge pull request #19673 from BerriAI/litellm_ui_router_fallbacks_02
[Feature] UI - Fallbacks: New Add Fallbacks Modal
2026-01-23 14:33:30 -08:00
yuneng-jiang
3ba9b13390 adding tests 2026-01-23 14:28:47 -08:00
yuneng-jiang
7e6fc6af2c New add fallbacks modal 2026-01-23 14:21:32 -08:00
Ishaan Jaffer
5b341ee842 fix linting 2026-01-23 13:46:02 -08:00
milan-berri
37b7dff194
add spend-queue-troubleshooting docs (#19659)
* add spend-queue-troubleshooting docs

* adjust spend-queue-troubleshooting docs
2026-01-23 13:44:41 -08:00
mubashir1osmani
c41963c949
fix: add openinference span kinds to arize phoenix
fix: add openinference span kinds to arize phoenix
2026-01-23 16:32:49 -05:00
Ishaan Jaffer
c945677ea8 BUMP pyproject 2026-01-23 13:28:06 -08:00
mubashir1osmani
0993dca4e2 fix lint 2026-01-23 16:27:32 -05:00
mubashir1osmani
33a216d02a remove imports from functions 2026-01-23 16:18:21 -05:00
Ishaan Jaffer
b4dd0e4d19 fix schema.prisma 2026-01-23 13:17:52 -08:00
Ishaan Jaffer
c3b278e488 add migrtion 2026-01-23 13:17:06 -08:00
Ishaan Jaffer
9e02a38002 add schema.prisma 2026-01-23 13:16:58 -08:00
mubashir1osmani
744d15e068 remove imports from functions 2026-01-23 16:16:33 -05:00
Ishaan Jaffer
6621c7b2ef docs fix 2026-01-23 12:54:30 -08:00
Ishaan Jaff
fc19085230
[Feat] Guardrail Policy Management - Allow using UI to manage guardrail policies (#19668)
* init UI

* init schema.prisma

* fix: policy_crud_router

* UI fixes

* update gitignore

* working v0 for policy mgmt

* fix: endpoints to resolve guardrails

* fix code QA checks

* ui build issues

* schema fixes

* fix checks
2026-01-23 12:44:22 -08:00
yuneng-jiang
28bc83e394
Merge pull request #19662 from BerriAI/litellm_yj_ci_01
[Infra] CI/CD - Linting
2026-01-23 12:27:24 -08:00
yuneng-jiang
fbe5ae9e17 fixing flaky tests 2026-01-23 12:20:27 -08:00
yuneng-jiang
8b5b343841 attempt fix flaky tests 2026-01-23 12:10:08 -08:00
yuneng-jiang
5cacf56507 security scan 2026-01-23 11:55:56 -08:00
Alexsander Hamir
8a252729ea Add uvicorn JSON log configuration to prevent duplicate logging
Implements _get_uvicorn_json_log_config() function that configures uvicorn to use JSON formatting for all logs when JSON_LOGS is enabled, preventing duplicate log entries.
2026-01-23 11:55:36 -08:00
yuneng-jiang
647a6898a9 skipping non root tests entirely 2026-01-23 11:51:38 -08:00
yuneng-jiang
89bf7e50c4 skipping flaky tests 2026-01-23 11:43:39 -08:00
yuneng-jiang
a28911845f fixing config 2026-01-23 11:11:11 -08:00
Ishaan Jaffer
19141e180e docs fix 2026-01-23 11:06:02 -08:00
yuneng-jiang
a0b2832300 fixing security checks 2026-01-23 11:03:18 -08:00
yuneng-jiang
06b78208dd resetting poetry and requirements 2026-01-23 10:41:35 -08:00
yuneng-jiang
2d4c0f4e65 ci cd fixes - linting security 2026-01-23 10:37:16 -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
23f7d4f0b0
Merge pull request #19645 from BerriAI/litellm_gigachat_big_fix
Add tool choice mapping for giga chat
2026-01-23 19:52:35 +05:30
Sameer Kankute
a240eb7630
Merge pull request #19649 from BerriAI/litellm_fix_responses_api_logging_eror
Fix: Responses API logging error for StopIteration
2026-01-23 19:51:45 +05:30
Sameer Kankute
fe5fac17b3 Remove f string 2026-01-23 19:50:13 +05:30
Sameer Kankute
a4bf14f6e7 Fix: test_nova_invoke_streaming_chunk_parsing 2026-01-23 19:49:42 +05:30
Sameer Kankute
8357d05615 Fix: Responses API logging error for StopIteration 2026-01-23 18:42:33 +05:30
YutaSaito
8ac1d96d90
Merge pull request #19634 from BerriAI/litellm_feat_hashicorp_rotate
[feat] hashicorp vault rotate support
2026-01-23 21:08:55 +09:00
Sameer Kankute
acf5ad1155 Add tool choice mapping for giga chat 2026-01-23 16:29:19 +05:30
YutaSaito
83da74b12c
Merge pull request #19640 from BerriAI/litellm_fix_mcp_completions_spend_logs
[fix] include tool arguments in proxy_server_request for spend logs ca…
2026-01-23 18:45:42 +09:00
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
Yuta Saito
919033a6d0 fix: include tool arguments in proxy_server_request for spend logs callbacks 2026-01-23 16:36:37 +09:00
YutaSaito
4381e7f98f
Merge pull request #19624 from BerriAI/litellm_test_responses_api_with_mcp_tools
[test] Skip anthropic model test when ANTHROPIC_API_KEY is not set
2026-01-23 15:58:19 +09:00
YutaSaito
12bc66aa5b
Merge pull request #19623 from BerriAI/litellm_fix_completions_mcp_output_ordering
[fix] completions mcp output ordering
2026-01-23 15:56:02 +09:00