Commit graph

4830 commits

Author SHA1 Message Date
yuneng-jiang
fb5429bfe7 Remove Feature Flags 2025-11-27 17:21:51 -08:00
yuneng-jiang
6bbc17771f Fix fallbacks immediately deleting before api resolves 2025-11-27 16:45:21 -08:00
yuneng-jiang
4aea2df986 Various Text, button state, and test changes 2025-11-27 16:19:50 -08:00
yuneng-jiang
634ec91acc
Merge pull request #17236 from BerriAI/litellm_team_edit_settings_loading
[Feature] Adding Button Loading States to Edit Settings
2025-11-27 15:20:36 -08:00
yuneng-jiang
2f045f07a2 Adding loading states to edit settings 2025-11-27 15:08:00 -08:00
yuneng-jiang
92ba34823f Fix Request and Response Panel JSONViewer 2025-11-27 14:46:05 -08:00
Ishaan Jaffer
19f03d4be3 ui fix linting errors 2025-11-27 12:32:51 -08:00
Ishaan Jaff
ffb75b04fd
[Feat] UI - allow adding pass through guardrails through UI (#17226)
* add PassThroughGuardrailsConfig

* init JsonPathExtractor

* feat PassthroughGuardrailHandler

* feat pt guardrails

* pt guardrails

* add Pass-Through Endpoint Guardrail Translation

* add PassThroughEndpointHandler

* execute simple guardrail config and dict settings

* TestPassthroughGuardrailHandlerNormalizeConfig

* add passthrough_guardrails_config on litellm logging obj

* add LiteLLMLoggingObj to base trasaltino

* cleaner _get_guardrail_settings

* update guardrails settings

* docs pt guardrail

* docs Guardrails on Pass-Through Endpoints

* fix typing

* fix typing

* test_no_fields_set_sends_full_body

* fix typing

* init add pass through guardrails

* ui allow setting target fields on gd

* docs ui settings guardrails
2025-11-27 12:27:16 -08:00
yuneng-jiang
d59e5dc1f5 Change add fallback to use antd select 2025-11-27 11:31:07 -08:00
yuneng-jiang
40db4527f7 [Feature] UI - Organization Usage in Usage Tab (#16614)
* Organization Usage UI

* Resolved build issues

* Added a test
2025-11-26 21:51:19 -08:00
yuneng-jiang
e093429740
Merge pull request #17177 from BerriAI/litellm_ui_model_perf_2
[Infra] UI - Migrate Provider Fields to React Query
2025-11-26 20:07:57 -08:00
Ishaan Jaffer
b487e67dec sec fix 2025-11-26 18:23:18 -08:00
yuneng-jiang
7e3f3c6f65 Migrate /public/provider/fields to react query 2025-11-26 18:16:52 -08:00
yuneng-jiang
ac1827cbfc
Merge pull request #17168 from BerriAI/litellm_ui_users_loading
[Feature] UI - Better Loading State for Internal User Page
2025-11-26 17:28:40 -08:00
yuneng-jiang
4b951c3ced Removing flaky tests 2025-11-26 17:04:12 -08:00
yuneng-jiang
aad0075366 Change create key duration initial value to null 2025-11-26 17:00:56 -08:00
yuneng-jiang
87b4e9ebad User table loading state 2025-11-26 16:24:29 -08:00
yuneng-jiang
86af4891fa Change model_hub_table to call getUiConfig before fetching public data 2025-11-26 15:12:40 -08:00
yuneng-jiang
cfdade1a6f Adding timeout it instead 2025-11-26 13:53:31 -08:00
yuneng-jiang
b93fe4b93e Add explicit timeout for flaky tests 2025-11-26 13:41:03 -08:00
yuneng-jiang
ba71d10398 Merge conflicts 2025-11-26 09:08:17 -08:00
yuneng-jiang
ce65663ad1 Merge remote-tracking branch 'origin' into litellm_ui_model_page_perf 2025-11-26 09:06:43 -08:00
yuneng-jiang
38bac312cd
Merge pull request #17110 from BerriAI/litellm_org_admin_access_fix
[Feature] UI - Org Admin Team Permissions Fix
2025-11-25 21:36:01 -08:00
yuneng-jiang
6c79240cd6
Merge pull request #17108 from BerriAI/litellm_user_table_sort_ui
[Feature] UI - User Table Sort by All
2025-11-25 21:35:27 -08:00
yuneng-jiang
e9ab20631f
Merge pull request #17098 from BerriAI/litellm_broken_links_ui
[Feature] UI - Disable edit, delete, info, for dynamically generated spend tags
2025-11-25 21:34:39 -08:00
yuneng-jiang
50dea2600f Tests and revert useAvailableModels 2025-11-25 21:23:24 -08:00
yuneng-jiang
cb1809987d Migrate some queries to use react query, tests pending 2025-11-25 21:00:41 -08:00
yuneng-jiang
7227747a6f
Improve Wording for Config Models in Model Table (#17100) 2025-11-25 19:25:23 -08:00
yuneng-jiang
577f40bc60 ProviderLogo component, test pending 2025-11-25 18:05:30 -08:00
yuneng-jiang
5ec3f19a53 Make model select required for team, add checks for all-proxy-models 2025-11-25 16:57:38 -08:00
yuneng-jiang
3da9974a87 Tests 2025-11-25 15:54:55 -08:00
yuneng-jiang
db587926a4 Sorting changes, pending tests and loading state 2025-11-25 14:46:46 -08:00
yuneng-jiang
44cde2e48f Disable edit, delete, info, for dynamically generated spend tags 2025-11-25 12:03:01 -08:00
yuneng-jiang
babee43dde
Merge pull request #17068 from BerriAI/litellm_additional_delete_resource_modal
[Feature] Change Delete Modals to Common Component
2025-11-24 20:58:46 -08:00
yuneng-jiang
3aba6d96fd
[Fix] UI - Add No Default Models for Team and User Settings (#17037)
* Add No Default Models to Team and User settings

* Removing unused imports

* Adding to Create User and Team flow
2025-11-24 20:53:17 -08:00
yuneng-jiang
d53bc7b9a0 Change modals to reusable component 2025-11-24 20:37:33 -08:00
YutaSaito
f5a3349fef
feat: add UI support for configuring tool permission guardrails (#17050)
* feat: add UI support for configuring tool permission guardrails

* chore: rename UI/Docs references to "LiteLLM Tool Permission Guardrail"
2025-11-24 17:13:07 -08:00
Lior Drihem
62b84d6aad
Prompt security litellm (#16365)
* add prompt security guardrails provider

* cosmetic

* small

* add file sanitization and update context window

* add pdf and OOXML files support

* add system prompt support

* add tests and documentation

* remove print

* fix PLR0915 Too many statements (96 > 50)

* cosmetic

* fix mypy error

* Fix failed tests due to naming conflict of responses directory with same-named pip package

* Fix mypy error: use 'aembedding' instead of 'embeddings' for async embedding call type

* Fix: Install enterprise package into Poetry virtualenv for tests

The GitHub Actions workflow was installing litellm-enterprise to system Python
using 'python -m pip install -e .', but tests run in Poetry's virtualenv using
'poetry run pytest'. This caused ImportError for enterprise package types.

Changed to 'poetry run pip install -e .' so the package is available in the
same virtualenv where pytest executes.

Fixes enterprise test collection errors in GitHub Actions CI.

* Move Prompt Security guardrail tests to tests/test_litellm/

Per reviewer feedback, move test_prompt_security_guardrails.py from
tests/guardrails_tests/ to tests/test_litellm/proxy/guardrails/ so
it will be executed by GitHub Actions workflow test-litellm.yml.

This ensures the Prompt Security integration tests run in CI.

---------

Co-authored-by: Ori Tabac <oritabac@prompt.security>
Co-authored-by: Vitaly Neyman <vitaly@prompt.security>
2025-11-24 11:44:20 -08:00
yuneng-jiang
adfdcf1d61
[Fix] UI - Hide Default Team Settings From Proxy Admin Viewers (#16900)
* Add fallback in sort to prevent NoneType and str comparison

* Hide Default Team Settings from Proxy Admin Viewers

---------

Co-authored-by: Krish Dholakia <krrishdholakia@gmail.com>
2025-11-23 22:01:38 -08:00
YutaSaito
f37d6480ec
feat: add UI support for registering MCP OAuth2 auth_type (#17007) 2025-11-23 21:54:01 -08:00
yuneng-jiang
02873cf992
Minor cosmetic changes for buttons, add notification for delete team (#16984) 2025-11-22 19:24:25 -08:00
yuneng-jiang
16a5178527
Ensure unique keys in navbar menu items (#16987) 2025-11-22 19:20:01 -08:00
yuneng-jiang
5da77ac40a
[Fix] Revert UI - Organization Usage (#16980)
* Revert "[Feature] UI - Organization Usage in Usage Tab (#16614)"

This reverts commit 4de182c98f.

* Networking Changes
2025-11-22 16:02:12 -08:00
Krish Dholakia
e11d34eb69
Permission Management - disable global guardrails by key/team (#16983)
* feat(teams.py): param for disabling guardrails by team

allows use-case where you don't run global guardrails for team - only run team-specific guardrails

* feat(custom_guardrail.py): add support for disabling global guardrails

only run guardrails requested for in the request/key/team

* feat: support adding disable_global_guardrails to metadata if present in key/team metadata

* feat(create_key_button.tsx): new disable global guardrails field

* feat(key_edit_view.tsx): support disabling global guardrails on key edit

* feat(teams.tsx): add disable global guardrails on create team on UI

* feat(team_info.tsx): allow disabling global guardrails on team update
2025-11-22 15:43:50 -08:00
yuneng-jiang
f7f4320e12
Revert to console outputs to reduce noise (#16981) 2025-11-22 15:26:45 -08:00
Ishaan Jaffer
7cf1d306f2 fix ui unit tests fuck this test why is it so flaky 2025-11-22 14:55:29 -08:00
Ishaan Jaffer
919465280d fix ui build 2025-11-22 14:48:15 -08:00
Ishaan Jaffer
e8ba4e3fa4 fix ui unit tests 2025-11-22 14:32:10 -08:00
Ishaan Jaffer
c6b8f19adc ui unit tests fix 2025-11-22 14:05:59 -08:00
Krish Dholakia
ac3aa74c22
(feat) Anthropic - support Structured Outputs output_format for Claude 4.5 sonnet and Opus 4.1 + Arize Phoenix - root span logging (#16949)
* feat(anthropic/chat/transformations): for claude-4-5-sonnet and opus-4-1 support passing structured output to anthropic api

* docs: document new feature

* fix: fix output format

* fix: cleanup

* fix(transformation.py): conditionally pass in json tool call

* fix: support ARIZE_SPACE_ID instead of ARIZE_SPACE_KEY

* docs(arize_integration.md): cleanup arize docs

* feat(callback_info_helpers.tsx): allow setting arize space id via ui

* fix: fix linting error

* fix(opentelemetry.py): working arize phoenix root span tracing
2025-11-22 12:08:26 -08:00