yuneng-jiang
f4017a1986
Tests
2025-12-17 16:07:01 -08:00
yuneng-jiang
9907a0d93c
Tests
2025-12-15 18:04:27 -08:00
Sameer Kankute
b97ea585b2
Add method for extracting vector store ids from path params ( #16566 )
...
* Add method for extracting vector store ids from path params
* Add vector id handling from path
* Move method to utils
2025-11-26 14:19:30 -08:00
Ishaan Jaffer
983ada20c3
mock test fixes
2025-11-26 12:02:35 -08:00
Krish Dholakia
00e17c81a1
Add enforce user param functionality ( #17088 )
...
* feat: Add reject_metadata_tags to proxy config
Co-authored-by: krrishdholakia <krrishdholakia@gmail.com >
* Refactor: Rename reject_metadata_tags to reject_clientside_metadata_tags
Co-authored-by: krrishdholakia <krrishdholakia@gmail.com >
---------
Co-authored-by: Cursor Agent <cursoragent@cursor.com >
2025-11-25 09:36:24 -08:00
yuneng-jiang
22fd323d6b
Calling team/permissions_list and team/permissions_update now returns 404 with non-existent team ( #16835 )
2025-11-22 14:21:58 -08:00
Ishaan Jaff
527c8f59fa
[Feat] Tag Management - Add support for setting tag based budgets ( #15433 )
...
* feat: add LiteLLM_TagTable
* fix: use new table for tag management
* fix - allow setting budgets for tags
* working tag creation
* fix schema.prisma
* add tag info
* ui fixes
* ui fix tag info
* TAG_CACHE_IN_MEMORY_TTL_SECONDS
* add Litellm_EntityType
* fix get_aggregated_db_spend_update_transactions
* fix: _update_entity_spend_in_db
* fix _tag_max_budget_check
* add tag budget check
* add tag_list_transactions
* test_get_tag_objects_batch
* test_update_tag_db_without_prisma_client
* fix get_tags_from_request_body
* get_tags_from_request_body
* fix get_tags_from_request_body
* fix spend tracking utils
* get_tags_from_request_body
* test_get_tags_from_request_body_with_metadata_tags
* feat: add _update_tag_cache spend tracking
* fix _PROXY_track_cost_callback
* test_tag_cache_update_multiple_tags
* fix tag info
* docs fix
* docs tag budgets
* doc fix
* docs fix
* fix tag budget
* docs tag budgets
* docs fix
* ruff fix
2025-10-10 19:24:50 -07:00
iabhi4
dc27bccb45
feat(proxy): Assign default budget to auto-generated JWT teams
2025-09-14 12:04:43 -07:00
Krrish Dholakia
34ad646101
fix(auth_checks.py): handle both flows + add unit tests
2025-08-20 16:42:08 -07:00
Krish Dholakia
eed0cf2ee9
UI SSO - fix reset env var when ui_access_mode is updated ( #13011 )
...
* fix(ui_sso.py): fix form action on login when sso is enabled
* fix: multiple fixes - fix resetting env var in proxy config + add key to exception message on key decryption
fixes issue where env vars would be reset
* refactor(proxy_server.py): cleanup redundant decryption line
* fix(proxy_setting_endpoints.py): show saved ui access mode
allows admin to know what they'd previously stored in db
2025-07-26 11:42:41 -07:00
Krish Dholakia
07e8609edb
Resolve model group alias on Auth + /v1/messages Fallback support ( #12440 )
...
* fix(auth_checks.py): resolve a model group alias when key has access to underlying model
Fixes LIT-293
* feat(anthropic/): add mock_response to anthropic /v1/messages
makes it easy to test fallback logic
* fix(router.py): support fallbacks on /v1/messages
adds working fallbacks on generic api route
* refactor(router.py): point _ageneric_api_call_with_fallbacks to updated function
* test: add unit test for new helper on router
* fix(router.py): use correct metadata variable name
* fix(router.py): use correct metadata field
* docs(config_settings.md): document new param
2025-07-09 22:27:55 -07:00
Ishaan Jaff
7e49b4e2a0
[Feat] Enforce Vector Store Access Controls on LiteLLM Auth ( #11281 )
...
* fix LiteLLM_ObjectPermissionTable
* fix include object_permission for list key
* fix key list to inclue obj permissions
* fix object permissions for vector stores on key info
* add key edit view with vector stores
* allow editing vector stores permissions
* fixes obj permissions
* feat: add obj permission on UI
* fix: add object_permission:true
* ui show org vector stores on org info
* fix: show object permissions on /org/info
* feat: allow updating obj permissions for keys
* fixes: key object permissions
* fixes: team object permissions
* fixes: org object permissions
* fix vector store selector for Orgs
* feat: add auth checks for vector store permissions
* feat: working auth checks for vector store permissions
* test vector stores auth checks
* Update litellm/proxy/_types.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* fix: linting
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-05-30 22:20:11 -07:00
Krish Dholakia
ef42461c1e
Litellm fix GitHub action testing ( #11163 )
...
* test: add __init__.py files
* refactor: rename test folder to avoid naming conflict
* test: update workflows
* test: update tests
* test: update imports
* test: update tests
* test: remove unused import
* ci(test-litellm.yml): add pytest retry to github workflow
* test: fix test
2025-05-26 14:41:42 -07:00