Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
7505 commits
Select commit Hold shift + click to select a range
9a81be6
Merge pull request #18359 from BerriAI/litellm_logs_add_filtering
yuneng-jiang Dec 23, 2025
fc80a92
Add Error code filter on UI
yuneng-jiang Dec 23, 2025
f6350aa
Merge pull request #18349 from prasadkona/feat/databricks-partner-int…
Sameerlite Dec 23, 2025
fa738f2
Merge pull request #18366 from BerriAI/litellm_ui_spend_logs_error_code
yuneng-jiang Dec 23, 2025
cac53dc
Merge pull request #18355 from BerriAI/litellm_ui_key_submit_fix
yuneng-jiang Dec 23, 2025
ca635a5
Add supports_response_schema to all supported together ai models
Sameerlite Dec 23, 2025
768bcca
Merge pull request #18283 from lucasrothman/fix/gemini-context-window…
Sameerlite Dec 23, 2025
201fd24
Merge pull request #18316 from Harshit28j/fix/tools_call_elif_issue
Sameerlite Dec 23, 2025
c47079b
Merge pull request #18062 from Chesars/fix/groq-deprecated-models
Sameerlite Dec 23, 2025
57e6132
Re add thought signature as normal feat
Sameerlite Dec 23, 2025
de99e30
Add: a new pre call hook for checking tool thought signature in id
Sameerlite Dec 23, 2025
0addab4
Add test for removal of thought signature
Sameerlite Dec 23, 2025
69897be
Add 5 AI providers using `openai_like` (#18362)
mcowger Dec 23, 2025
c4b2c57
feat(pricing): add Azure gpt-image-1.5 pricing to cost map (#18347)
Chesars Dec 23, 2025
40fac60
docs(openai): fix gpt-5-mini reasoning_effort supported values (#18346)
Chesars Dec 23, 2025
73b64e5
Add azure_ai/gpt-oss-120b model pricing details (#18317)
aggeentik Dec 23, 2025
ca28ab8
Add: transformation file for minmax anthropic endpoint
Sameerlite Dec 23, 2025
4bae4d0
Add: transformation file for minmax anthropic endpoint
Sameerlite Dec 23, 2025
743960a
Add pricing for minmax models in model map
Sameerlite Dec 23, 2025
2f9042c
Add tests related to minmax doc
Sameerlite Dec 23, 2025
4038752
Add minmax documentation
Sameerlite Dec 23, 2025
7559869
Merge branch 'main' into litellm_minmax_anthropic_spec
Sameerlite Dec 23, 2025
0174c56
Fix: documentation for litellm sdk
Sameerlite Dec 23, 2025
af8483b
Fix: documentation for litellm sdk
Sameerlite Dec 23, 2025
38cf66d
Add: chat completion transformation for minmax
Sameerlite Dec 23, 2025
b1b8d19
Add: chat completion transformation for minmax
Sameerlite Dec 23, 2025
26c0396
Add documentation for chat compeltion minmax
Sameerlite Dec 23, 2025
4e77dc6
Add tests for chat completion minmax
Sameerlite Dec 23, 2025
16985ab
Potential fix for code scanning alert no. 3942: Clear-text logging of…
Sameerlite Dec 23, 2025
dce95d3
fix mypy issue
Sameerlite Dec 23, 2025
fa14a99
Merge pull request #18368 from BerriAI/litellm_together_ai_models_update
Sameerlite Dec 23, 2025
b2b0604
Fix : mypy error
Sameerlite Dec 23, 2025
e18cfc0
corrected provider name
Sameerlite Dec 23, 2025
a224077
correct doc
Sameerlite Dec 23, 2025
3c25320
Merge pull request #18380 from BerriAI/litellm_minmax_chat_completion…
Sameerlite Dec 23, 2025
d0fa01d
Merge pull request #18377 from BerriAI/litellm_minmax_anthropic_spec
Sameerlite Dec 23, 2025
a57c4d0
Merge pull request #18374 from BerriAI/litellm_add_gemini_thought_sig…
Sameerlite Dec 23, 2025
c7e0366
Add support for minmax tts
Sameerlite Dec 22, 2025
980860a
Fix : mypy error
Sameerlite Dec 23, 2025
fda919d
Merge pull request #18334 from BerriAI/litellm_minmax_tts_support
Sameerlite Dec 23, 2025
f284fc7
fix(sap): add sap as provider for list in add credentials component i…
vasilisazayka Dec 23, 2025
0f63cbe
[Feat] Interactions API - allow using all litellm providers (interact…
ishaan-jaff Dec 23, 2025
4f7682f
[Feat] RAG query endpoint - Add RAG Search / Query endpoint (#18376)
ishaan-jaff Dec 23, 2025
1b8cb31
[Refactor] Consolidate lazy import handlers with registry pattern (#1…
AlexsanderHamir Dec 23, 2025
ed4a4c1
Base commit
yuneng-jiang Dec 23, 2025
fccd2d1
Fix UI disappearing for development instances
yuneng-jiang Dec 23, 2025
449a586
[Refactor]: Complete lazy loading migration for all 180+ LLM config c…
AlexsanderHamir Dec 23, 2025
97230e5
Merge pull request #18393 from BerriAI/litellm_ui_fix_2
yuneng-jiang Dec 23, 2025
55bfb24
Merge pull request #18324 from BerriAI/litellm_feat_dynamic_env_propa…
uc4w6c Dec 23, 2025
87337ab
Support Disable Admin UI
yuneng-jiang Dec 23, 2025
4d005fe
[Refactor]: Lazy load additional components (types, callbacks, utilit…
AlexsanderHamir Dec 23, 2025
d9bcc33
Fixing tests
yuneng-jiang Dec 23, 2025
6bb5254
Revert "[Fix] UI - Disappears in Development Environments"
yuneng-jiang Dec 23, 2025
cd1e804
Merge pull request #18398 from BerriAI/revert-18393-litellm_ui_fix_2
yuneng-jiang Dec 23, 2025
b86147c
Merge pull request #18397 from BerriAI/litellm_disable_admin_flag
yuneng-jiang Dec 23, 2025
05dd247
Fix UI disappearing for development instances
yuneng-jiang Dec 23, 2025
564b2b5
Fix for dev env
yuneng-jiang Dec 24, 2025
4b38db1
Allow Organization Admins to See Organization Tab
yuneng-jiang Dec 24, 2025
d85bf42
Merge pull request #18400 from BerriAI/litellm_ui_org_admin
yuneng-jiang Dec 24, 2025
d98defe
Merge pull request #18399 from BerriAI/litellm_yuneng_test_6
yuneng-jiang Dec 24, 2025
8b4c2da
Resolve org alias on teams table
yuneng-jiang Dec 24, 2025
ecd628b
Merge pull request #18401 from BerriAI/litellm_ui_team_org
yuneng-jiang Dec 24, 2025
42121ad
Update minimax docs to be in proper format
Sameerlite Dec 24, 2025
40549bc
Deprecate useTeam in favor of react query
yuneng-jiang Dec 24, 2025
61e1e42
fix: Datadog span kind fallback when parent_id missing
uc4w6c Dec 24, 2025
4c4c9cb
Add generate content in llm route
Sameerlite Dec 24, 2025
5abb677
Remove double imports
Sameerlite Dec 24, 2025
d02c580
feat(vertex-ai): add centralized get_vertex_base_url() helper for glo…
Sameerlite Dec 24, 2025
d88bc13
Add support for image generation via azure ad token
Sameerlite Dec 24, 2025
fe9b9d5
Merge pull request #18406 from BerriAI/litellm_fix_code_qa_issues
Sameerlite Dec 24, 2025
8fb1526
Merge pull request #18405 from BerriAI/litellm_proxy_route_correction
Sameerlite Dec 24, 2025
fd7c928
Merge pull request #18410 from BerriAI/litellm_refactor_location_code
Sameerlite Dec 24, 2025
109def6
Merge pull request #18413 from BerriAI/litellm_azure_ad_image_generation
Sameerlite Dec 24, 2025
66a7abc
Merge pull request #18403 from BerriAI/litellm_minimax_doc_update
Sameerlite Dec 24, 2025
8a3d496
Merge pull request #18404 from BerriAI/litellm_ui_use_team
yuneng-jiang Dec 24, 2025
825503f
Refactor react-query hooks
yuneng-jiang Dec 24, 2025
1ac6204
fixing build
yuneng-jiang Dec 24, 2025
24a6d89
Merge pull request #18416 from BerriAI/litellm_ui_refactor_2
yuneng-jiang Dec 24, 2025
dc4982a
Base commit
yuneng-jiang Dec 24, 2025
5a20edf
Allow org admins to view org info
yuneng-jiang Dec 24, 2025
c1dcc81
Model Page sort by all models
yuneng-jiang Dec 24, 2025
5d1fe86
Tests
yuneng-jiang Dec 24, 2025
4ce1357
Fixing build
yuneng-jiang Dec 24, 2025
e0a06a7
Merge pull request #18417 from BerriAI/litellm_org_admin_permissions
yuneng-jiang Dec 24, 2025
2e24d34
Merge pull request #18420 from BerriAI/litellm_ui_model_sorting
yuneng-jiang Dec 24, 2025
85827aa
Resize columns working
yuneng-jiang Dec 25, 2025
edd910f
adding test
yuneng-jiang Dec 25, 2025
442acc2
Add Model Page Select perf
yuneng-jiang Dec 25, 2025
463154e
Merge pull request #18424 from BerriAI/litellm_ui_keys_columns
yuneng-jiang Dec 25, 2025
75028ca
Merge pull request #18425 from BerriAI/litellm_ui_model_provider
yuneng-jiang Dec 25, 2025
1123cfa
[Feat] AI Gateway - Add support for Platform Fee / Margins (#18427)
ishaan-jaff Dec 25, 2025
9f4a4fd
Add docs as follow on to #18362 (#18388)
mcowger Dec 25, 2025
73af18b
Add azure/gpt-5.2-chat (#18361)
mihidumh Dec 25, 2025
6daddbc
add license endpoint (#18311)
bernata Dec 25, 2025
78b5d40
Merge pull request #18418 from BerriAI/litellm_fix_datadog-llm-observ…
uc4w6c Dec 26, 2025
f6ed800
feat: add MCP test support to completions on Playground
uc4w6c Dec 26, 2025
4ec6a82
fix: add model validation on Playground
uc4w6c Dec 26, 2025
3a141e6
fix: get_all_mcp_servers_with_health_and_teams
uc4w6c Dec 26, 2025
c25ceb5
refactor: MCP health check
uc4w6c Dec 26, 2025
aa0ff91
fix: format
uc4w6c Dec 26, 2025
845533c
Merge pull request #18440 from BerriAI/litellm_feat_playground-comple…
uc4w6c Dec 26, 2025
6888d34
feat: Log actual executed event type in guardrail logging
uc4w6c Dec 26, 2025
8bf0b9e
feat: add event_type parameter to add_standard_logging_guardrail_info…
uc4w6c Dec 26, 2025
7d673c3
lint
uc4w6c Dec 26, 2025
c6d6ffd
fix: mypy error
uc4w6c Dec 26, 2025
043d968
added google image gen models
mubashir1osmani Dec 28, 2025
861b103
added google image gen models
mubashir1osmani Dec 28, 2025
f502462
fix: correct deepseek-v3p2 pricing for Fireworks AI
yurekami Dec 28, 2025
61f64f4
Merge pull request #18489 from BerriAI/litellm_feat_guardrail-log-act…
uc4w6c Dec 28, 2025
93628c0
feat: Add MiniMax provider support to UI dashboard
Chesars Dec 29, 2025
e31ee9b
feat: Add MiniMax official logo to UI
Chesars Dec 29, 2025
e4c9b0b
fix(vertex_ai): convert image URLs to base64 for Vertex AI Anthropic
DevajMody Dec 29, 2025
a569369
Merge pull request #18443 from BerriAI/litellm_fix_health_status
uc4w6c Dec 29, 2025
b720fba
Fix formatting in proxy configs documentation
Prazeina Dec 29, 2025
d7468da
fix authentication errors at messages API via azure_ai
systec-dk Dec 29, 2025
ce0aba9
Merge pull request #18498 from Prazeina/patch-1
uc4w6c Dec 29, 2025
a1849a1
Playwright setup in UI directory
yuneng-jiang Dec 29, 2025
41fa2c0
migrate e2e tests to ui directory
yuneng-jiang Dec 29, 2025
ab89587
circle ci config change for e2e
yuneng-jiang Dec 29, 2025
657eb2b
attempt fix 2
yuneng-jiang Dec 29, 2025
108fc4a
Using microsoft official docker for playwright
yuneng-jiang Dec 29, 2025
990b7ff
Fixing CI/CD
yuneng-jiang Dec 29, 2025
ec29fe1
remove google dns for e2e
yuneng-jiang Dec 29, 2025
f8d9093
Attempt fix
yuneng-jiang Dec 29, 2025
de55188
Add optional field expand to /key/list
yuneng-jiang Dec 29, 2025
b9e8b38
Merge branch 'main' into fix/mcp-rest-auth-ssrf
uc4w6c Dec 29, 2025
dce3d0d
Merge pull request #18290 from emerzon/fix/mcp-rest-auth-ssrf
uc4w6c Dec 29, 2025
03cee68
Ruff check
yuneng-jiang Dec 29, 2025
ff4e16b
Merge pull request #18502 from BerriAI/litellm_key_list_user_object
yuneng-jiang Dec 29, 2025
b69c1dc
Key List table uses expand from /key/list
yuneng-jiang Dec 29, 2025
b21b156
adding tests
yuneng-jiang Dec 29, 2025
710ae2f
Merge pull request #18503 from BerriAI/litellm_ui_key_list
yuneng-jiang Dec 29, 2025
e0b96c4
refactor keys table
yuneng-jiang Dec 30, 2025
5cdd88b
fixing build
yuneng-jiang Dec 30, 2025
566eb35
Merge pull request #18504 from BerriAI/litellm_ui_keys_table_refactor
yuneng-jiang Dec 30, 2025
a08dae7
keys table refactor pt2
yuneng-jiang Dec 30, 2025
2dad030
updating tests
yuneng-jiang Dec 30, 2025
c79db91
Fixing build
yuneng-jiang Dec 30, 2025
52a1dbf
Merge pull request #18506 from BerriAI/litellm_ui_keys_react_query
yuneng-jiang Dec 30, 2025
a4341c6
test removing python install step
yuneng-jiang Dec 30, 2025
554830d
reverting
yuneng-jiang Dec 30, 2025
46ce686
attempt fix 3
yuneng-jiang Dec 30, 2025
c7734cb
Merge pull request #18501 from BerriAI/litellm_ui_e2e_login_session
yuneng-jiang Dec 30, 2025
42e437a
Loading state for Keys table
yuneng-jiang Dec 30, 2025
b1dd8bf
Adding tests
yuneng-jiang Dec 30, 2025
d630820
Merge pull request #18527 from BerriAI/litellm_ui_keys_loading
yuneng-jiang Dec 30, 2025
c049f6a
Adding e2e tests for sidebar
yuneng-jiang Dec 30, 2025
04989d2
Merge pull request #18528 from BerriAI/litellm_ui_e2e
yuneng-jiang Dec 30, 2025
16f6637
Add Model Form Refactor
yuneng-jiang Dec 30, 2025
7fdea85
feat: optimize MCP server listing by separating health checks
uc4w6c Dec 30, 2025
0dc8c14
fix: npm build error
uc4w6c Dec 30, 2025
ac798b7
Team admin view for add models
yuneng-jiang Dec 30, 2025
cc8e310
Merge pull request #18530 from BerriAI/litellm_refactor_mcp_health_check
uc4w6c Dec 30, 2025
3723a71
Adding tests
yuneng-jiang Dec 30, 2025
e5257db
Merge pull request #18532 from BerriAI/litellm_ui_add_model_team_admin
yuneng-jiang Dec 30, 2025
2abd094
E2E Parity
yuneng-jiang Dec 31, 2025
b35e0d5
Adding timeout for flaky test
yuneng-jiang Dec 31, 2025
9cdc356
Merge pull request #18533 from BerriAI/litellm_ui_e2e_2
yuneng-jiang Dec 31, 2025
f3f1acd
fix(vertex_ai): separate Tool objects for each tool type per API spec
xuan07t2 Dec 31, 2025
316a498
New badge reusable component
yuneng-jiang Dec 31, 2025
3d024b7
Merge pull request #18537 from BerriAI/litellm_ui_antd_input_css
yuneng-jiang Dec 31, 2025
a17980c
feat: hide new badges
yuneng-jiang Dec 31, 2025
0c0a5e5
Merge pull request #18547 from BerriAI/litellm_ui_turn_off_new_badges
yuneng-jiang Dec 31, 2025
81c7893
Testing coverage with v8
yuneng-jiang Dec 31, 2025
7b41686
Merge pull request #18548 from BerriAI/litellm_ui_testing_coverage
yuneng-jiang Dec 31, 2025
e20254b
Model Page refactor, pending tests/build
yuneng-jiang Dec 31, 2025
16f17fc
tests and build
yuneng-jiang Dec 31, 2025
e4dabc2
Merge pull request #18552 from BerriAI/litellm_ui_model_loading
yuneng-jiang Dec 31, 2025
b343d15
fix: prevent LiteLLM from closing external OTEL spans
uc4w6c Dec 31, 2025
9795a3d
fix: close spans only when proxy-created span
uc4w6c Jan 1, 2026
ee33819
Show user budget on usage
yuneng-jiang Jan 1, 2026
222ff15
Show user budget on usage
yuneng-jiang Jan 1, 2026
037b182
Merge pull request #18555 from BerriAI/litellm_ui_usage_budget
yuneng-jiang Jan 1, 2026
faf58dc
Merge pull request #18553 from BerriAI/litellm_fix_ends_parent_span_i…
uc4w6c Jan 1, 2026
269bc5b
Expire Previous UI Session Tokens
yuneng-jiang Jan 1, 2026
e258642
remove print
yuneng-jiang Jan 1, 2026
9be2173
Merge pull request #18557 from BerriAI/litellm_deactivate_other_ui_token
yuneng-jiang Jan 1, 2026
5ccc1a7
Save database build to reusable workspace
yuneng-jiang Jan 1, 2026
3ce5de4
add job to build_and_test
yuneng-jiang Jan 1, 2026
75a43e1
fixing path
yuneng-jiang Jan 1, 2026
22019ae
fixing path for e2e
yuneng-jiang Jan 1, 2026
c782099
saving docker build at root
yuneng-jiang Jan 1, 2026
5b66658
using built image instead of latest
yuneng-jiang Jan 1, 2026
e22b218
Mirroring to other ci jobs that require docker database
yuneng-jiang Jan 1, 2026
ba52490
adding attach workspace
yuneng-jiang Jan 1, 2026
a7da483
[Fix] CI/CD - check_code_and_doc_quality (#18560)
AlexsanderHamir Jan 1, 2026
754bbfd
Merge pull request #18561 from BerriAI/litellm_ci_docker
yuneng-jiang Jan 1, 2026
3f6312c
[Fix] CI/CD - litellm_mapped_tests_llms (#18563)
AlexsanderHamir Jan 1, 2026
afa974a
refactor pt1
yuneng-jiang Jan 1, 2026
34c0716
fixing build
yuneng-jiang Jan 1, 2026
e0a07ed
refactor pt2
yuneng-jiang Jan 1, 2026
825c121
[Fix] CI/CD - litellm_utils_testing (#18565)
AlexsanderHamir Jan 1, 2026
a0a8f0b
refactor pt3
yuneng-jiang Jan 1, 2026
936aa68
[Fix] CI/CD - litellm_security_tests (#18567)
AlexsanderHamir Jan 1, 2026
34e3c38
refactor model pt1
yuneng-jiang Jan 1, 2026
d2f2fe1
[Fix] CI/CD - litellm_mapped_tests_proxy (#18572)
AlexsanderHamir Jan 1, 2026
f7241a7
fix: unify model names to provider-defined names
uc4w6c Jan 1, 2026
9764ff8
refactor pt2
yuneng-jiang Jan 2, 2026
989ae3d
fixing build
yuneng-jiang Jan 2, 2026
365d51b
Model Page loading skeleton
yuneng-jiang Jan 2, 2026
c339a3a
Merge pull request #18574 from BerriAI/litellm_ui_model_page_loading_sk
yuneng-jiang Jan 2, 2026
4ea3c52
Clicking on logo goes to correct url
yuneng-jiang Jan 2, 2026
3891774
fixing build
yuneng-jiang Jan 2, 2026
ccfc53e
Fixing test
yuneng-jiang Jan 2, 2026
e1a173c
Merge pull request #18575 from BerriAI/litellm_server_base_url_fix
yuneng-jiang Jan 2, 2026
9038c1c
Merge pull request #18568 from BerriAI/litellm_ui_refactor4
yuneng-jiang Jan 2, 2026
c3817d1
Change budget panel to have tabs
yuneng-jiang Jan 2, 2026
a1200a8
tests for react query hooks
yuneng-jiang Jan 2, 2026
a0eb22c
Merge pull request #18576 from BerriAI/litellm_ui_budget_2
yuneng-jiang Jan 2, 2026
8a8f5b3
Merge pull request #18577 from BerriAI/litellm_ui_react_query_tests
yuneng-jiang Jan 2, 2026
9815b00
feat: add selectable mcp servers to the playground
uc4w6c Jan 2, 2026
df4eb84
chore: add test
uc4w6c Jan 2, 2026
7ba14a3
Merge pull request #18500 from systec-dk/fix_anthropic
Sameerlite Jan 2, 2026
ca94990
remove prompt caching headers as the support has been removed
Sameerlite Jan 2, 2026
35f9a75
feat: add UI support for configuring meta URLs
uc4w6c Jan 2, 2026
3ae38c2
fix: test_langfuse_logging_completion_with_bedrock_llm_response
uc4w6c Jan 2, 2026
dd96f91
Add thought signature for non tool call requests
Sameerlite Jan 2, 2026
2ea4d9a
fix: test error
uc4w6c Jan 2, 2026
57c373c
Add validation for negative budget
Sameerlite Jan 2, 2026
89ce809
fix: test
uc4w6c Jan 2, 2026
0b16482
fix: npm build
uc4w6c Jan 2, 2026
0e01d22
fix: test_edit_mcp_server_redacts_credentials error
uc4w6c Jan 2, 2026
8494432
fix: npm run build error
uc4w6c Jan 2, 2026
edc8413
Add Kubernetes ServiceAccount JWT authentication support (#18055)
LukasdeBoer Jan 2, 2026
4b131a7
Merge pull request #18573 from BerriAI/litellm_fix_normalize-model-name
uc4w6c Jan 2, 2026
7107da2
fix: test mock
uc4w6c Jan 2, 2026
26c733b
Merge pull request #18578 from BerriAI/litellm_feat_select_mcp_server…
uc4w6c Jan 2, 2026
e9365c4
Merge pull request #18580 from BerriAI/litellm_feat_support_metaurl_o…
uc4w6c Jan 2, 2026
81cbd7a
Preserve system instructions for gemini
Sameerlite Jan 2, 2026
65e60a1
Merge pull request #18497 from DevajMody/fix/vertex-ai-anthropic-imag…
Sameerlite Jan 2, 2026
9aa280f
Add all sizes and resolution for gpt-image-1.5 to model map
Sameerlite Jan 2, 2026
6e91364
Add all sizes and resolution for gpt-image-1.5 to model map
Sameerlite Jan 2, 2026
ccdbe92
Merge pull request #18514 from xuan07t2/fix/vertex-ai-tools-one-type-…
Sameerlite Jan 2, 2026
ec1403a
Merge pull request #18496 from Chesars/feat/add-minimax-provider-ui
Sameerlite Jan 2, 2026
bfbe13b
Merge pull request #18190 from RensDimmendaal/add-gemini-img-tool-res…
Sameerlite Jan 2, 2026
bbb883f
Merge pull request #18483 from yurekami/fix/deepseek-v3p2-pricing
Sameerlite Jan 2, 2026
0543ab5
Update the logic to work with GET request
Sameerlite Jan 2, 2026
05e37e0
fix ruff check
Sameerlite Jan 2, 2026
ecbc678
Merge pull request #18586 from BerriAI/litellm_fix_image_cost_track
Sameerlite Jan 2, 2026
7512b32
Merge pull request #18585 from BerriAI/litellm_gemini_system_instruct…
Sameerlite Jan 2, 2026
973f850
Merge pull request #18581 from BerriAI/litellm_gemini_non_tool_call_t…
Sameerlite Jan 2, 2026
c8bb92a
Merge pull request #18579 from BerriAI/litellm_remove_prompt_chaching…
Sameerlite Jan 2, 2026
ed59a9b
fix background cost tracking tests
Sameerlite Jan 2, 2026
233ba9d
fix mock tests
Sameerlite Jan 2, 2026
5ed8375
Merge pull request #18583 from BerriAI/litellm_block_negative_budget
Sameerlite Jan 2, 2026
c380ad7
Merge pull request #18588 from BerriAI/litellm_fix_sameer_cicd
Sameerlite Jan 2, 2026
c8950a5
fix(cost_calculator): correct gpt-image-1 cost calculation using toke…
Chesars Jan 2, 2026
d963346
Fix JSON logging for asyncio exceptions
openhands-agent Jan 2, 2026
687adc6
Add log_format parameter to GenericAPILogger (#18587)
chetanchoudhary-sumo Jan 2, 2026
e432c43
Merge remote-tracking branch 'upstream/main'
openhands-agent Jan 2, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
1,652 changes: 1,316 additions & 336 deletions .circleci/config.yml

Large diffs are not rendered by default.

8 changes: 6 additions & 2 deletions .circleci/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# used by CI/CD testing
openai==1.68.2
openai==1.100.1
python-dotenv
tiktoken
importlib_metadata
Expand All @@ -10,6 +10,10 @@ anthropic
orjson==3.10.12 # fast /embedding responses
pydantic==2.10.2
google-cloud-aiplatform==1.43.0
google-cloud-iam==2.19.1
fastapi-sso==0.16.0
uvloop==0.21.0
mcp==1.5.0 # for MCP server
mcp==1.10.1 # for MCP server
semantic_router==0.1.10 # for auto-routing with litellm
fastuuid==0.12.0
responses==0.25.7 # for proxy client tests
11 changes: 8 additions & 3 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@
// },

// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},
"features": {
"ghcr.io/devcontainers/features/node:1": {
"version": "lts"
},
"ghcr.io/devcontainers/features/docker-in-docker:2": {}
},

// Configure tool-specific properties.
"customizations": {
Expand All @@ -30,7 +35,7 @@

// Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [4000],

"containerEnv": {
"LITELLM_LOG": "DEBUG"
},
Expand All @@ -48,5 +53,5 @@
// "remoteUser": "litellm",

// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "pipx install poetry && poetry install -E extra_proxy -E proxy"
"postCreateCommand": "bash ./.devcontainer/post-create.sh"
}
17 changes: 17 additions & 0 deletions .devcontainer/post-create.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/usr/bin/env bash
set -e

echo "[post-create] Installing poetry via pip"
python -m pip install --upgrade pip
python -m pip install poetry

echo "[post-create] Installing Python dependencies (poetry)"
poetry install --with dev --extras proxy

echo "[post-create] Generating Prisma client"
poetry run prisma generate

echo "[post-create] Installing npm dependencies"
cd ui/litellm-dashboard && npm install --no-audit --no-fund

echo "[post-create] Done"
46 changes: 44 additions & 2 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,51 @@ cookbook
.github
tests
.git
.github
.circleci
.devcontainer
*.tgz
log.txt
docker/Dockerfile.*

# Claude Flow generated files (must be excluded from Docker build)
.claude/
.claude-flow/
.swarm/
.hive-mind/
memory/
coordination/
claude-flow
.mcp.json
hive-mind-prompt-*.txt

# Python virtual environments and version managers
.venv/
venv/
**/.venv/
**/venv/
.python-version
.pyenv/
__pycache__/
**/__pycache__/
*.pyc
.mypy_cache/
.pytest_cache/
.ruff_cache/
**/pyvenv.cfg

# Common project exclusions
.vscode
*.pyo
*.pyd
.Python
env/
.pytest_cache
.coverage
htmlcov/
dist/
build/
*.egg-info/
.DS_Store
node_modules/
*.log
.env
.env.local
111 changes: 111 additions & 0 deletions .gitguardian.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
version: 2

secret:
# Exclude files and paths by globbing
ignored_paths:
- "**/*.whl"
- "**/*.pyc"
- "**/__pycache__/**"
- "**/node_modules/**"
- "**/dist/**"
- "**/build/**"
- "**/.git/**"
- "**/venv/**"
- "**/.venv/**"

# Large data/metadata files that don't need scanning
- "**/model_prices_and_context_window*.json"
- "**/*_metadata/*.txt"
- "**/tokenizers/*.json"
- "**/tokenizers/*"
- "miniconda.sh"

# Build outputs and static assets
- "litellm/proxy/_experimental/out/**"
- "ui/litellm-dashboard/public/**"
- "**/swagger/*.js"
- "**/*.woff"
- "**/*.woff2"
- "**/*.avif"
- "**/*.webp"

# Test data files
- "**/tests/**/data_map.txt"
- "tests/**/*.txt"

# Documentation and other non-code files
- "docs/**"
- "**/*.md"
- "**/*.lock"
- "poetry.lock"
- "package-lock.json"

# Ignore security incidents with the SHA256 of the occurrence (false positives)
ignored_matches:
# === Current detected false positives (SHA-based) ===

# gcs_pub_sub_body - folder name, not a password
- name: GCS pub/sub test folder name
match: 75f377c456eede69e5f6e47399ccee6016a2a93cc5dd11db09cc5b1359ae569a

# os.environ/APORIA_API_KEY_1 - environment variable reference
- name: Environment variable reference APORIA_API_KEY_1
match: e2ddeb8b88eca97a402559a2be2117764e11c074d86159ef9ad2375dea188094

# os.environ/APORIA_API_KEY_2 - environment variable reference
- name: Environment variable reference APORIA_API_KEY_2
match: 09aa39a29e050b86603aa55138af1ff08fb86a4582aa965c1bd0672e1575e052

# oidc/circleci_v2/ - test authentication path, not a secret
- name: OIDC CircleCI test path
match: feb3475e1f89a65b7b7815ac4ec597e18a9ec1847742ad445c36ca617b536e15

# text-davinci-003 - OpenAI model identifier, not a secret
- name: OpenAI model identifier text-davinci-003
match: c489000cf6c7600cee0eefb80ad0965f82921cfb47ece880930eb7e7635cf1f1

# Base64 Basic Auth in test_pass_through_endpoints.py - test fixture, not a real secret
- name: Test Base64 Basic Auth header in pass_through_endpoints test
match: 61bac0491f395040617df7ef6d06029eac4d92a4457ac784978db80d97be1ae0

# PostgreSQL password "postgres" in CI configs - standard test database password
- name: Test PostgreSQL password in CI configurations
match: 6e0d657eb1f0fbc40cf0b8f3c3873ef627cc9cb7c4108d1c07d979c04bc8a4bb

# Bearer token in locustfile.py - test/example API key for load testing
- name: Test Bearer token in locustfile load test
match: 2a0abc2b0c3c1760a51ffcdf8d6b1d384cef69af740504b1cfa82dd70cdc7ff9

# Inkeep API key in docusaurus.config.js - public documentation site key
- name: Inkeep API key in documentation config
match: c366657791bfb5fc69045ec11d49452f09a0aebbc8648f94e2469b4025e29a75

# Langfuse credentials in test_completion.py - test credentials for integration test
- name: Langfuse test credentials in test_completion
match: c39310f68cc3d3e22f7b298bb6353c4f45759adcc37080d8b7f4e535d3cfd7f4

# Test password "sk-1234" in e2e test fixtures - test fixture, not a real secret
- name: Test password in e2e test fixtures
match: ce32b547202e209ec1dd50107b64be4cfcf2eb15c3b4f8e9dc611ef747af634f

# === Preventive patterns for test keys (pattern-based) ===

# Test API keys (124 instances across 45 files)
- name: Test API keys with sk-test prefix
match: sk-test-

# Mock API keys
- name: Mock API keys with sk-mock prefix
match: sk-mock-

# Fake API keys
- name: Fake API keys with sk-fake prefix
match: sk-fake-

# Generic test API key patterns
- name: Test API key patterns
match: test-api-key

- name: Short fake sk keys (1–9 digits only)
match: \bsk-\d{1,9}\b

12 changes: 7 additions & 5 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,15 @@ body:
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
render: shell
- type: dropdown
id: ml-ops-team
id: component
attributes:
label: Are you a ML Ops Team?
description: This helps us prioritize your requests correctly
label: What part of LiteLLM is this about?
options:
- "No"
- "Yes"
- "SDK (litellm Python package)"
- "Proxy"
- "UI Dashboard"
- "Docs"
- "Other"
validations:
required: true
- type: input
Expand Down
18 changes: 15 additions & 3 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,22 @@ body:
validations:
required: true
- type: dropdown
id: ml-ops-team
id: component
attributes:
label: Are you a ML Ops Team?
description: This helps us prioritize your requests correctly
label: What part of LiteLLM is this about?
options:
- "SDK (litellm Python package)"
- "Proxy"
- "UI Dashboard"
- "Docs"
- "Other"
validations:
required: true
- type: dropdown
id: hiring-interest
attributes:
label: LiteLLM is hiring a founding backend engineer, are you interested in joining us and shipping to all our users?
description: If yes, apply here - https://www.ycombinator.com/companies/litellm/jobs/6uvoBp3-founding-backend-engineer
options:
- "No"
- "Yes"
Expand Down
23 changes: 16 additions & 7 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
## Title

<!-- e.g. "Implement user authentication feature" -->

## Relevant issues

<!-- e.g. "Fixes #000" -->
Expand All @@ -11,10 +7,25 @@
**Please complete all items before asking a LiteLLM maintainer to review your PR**

- [ ] I have Added testing in the [`tests/litellm/`](https://github.com/BerriAI/litellm/tree/main/tests/litellm) directory, **Adding at least 1 test is a hard requirement** - [see details](https://docs.litellm.ai/docs/extras/contributing_code)
- [ ] I have added a screenshot of my new test passing locally
- [ ] My PR passes all unit tests on [`make test-unit`](https://docs.litellm.ai/docs/extras/contributing_code)
- [ ] My PR's scope is as isolated as possible, it only solves 1 specific problem

## CI (LiteLLM team)

> **CI status guideline:**
>
> - 50-55 passing tests: main is stable with minor issues.
> - 45-49 passing tests: acceptable but needs attention
> - <= 40 passing tests: unstable; be careful with your merges and assess the risk.

- [ ] **Branch creation CI run**
Link:

- [ ] **CI run for the last commit**
Link:

- [ ] **Merge / cherry-pick CI run**
Links:

## Type

Expand All @@ -29,5 +40,3 @@
✅ Test

## Changes


Loading