Commit graph

4874 commits

Author SHA1 Message Date
Achintya Rajan
cc94fb87b5 added base URL helpers 2025-10-06 20:32:47 -07:00
Achintya Rajan
051c9a7c61 Sidebar2 uses FF now 2025-10-06 20:17:19 -07:00
Krish Dholakia
6e538033ed
Merge pull request #15249 from BerriAI/litellm_router_settings_update_fix
fix: Router settings do not update despite success message
2025-10-06 19:53:08 -07:00
Krish Dholakia
6bb34e5168
Merge pull request #15252 from BerriAI/litellm_view_key_pagination_calls_fix
(perf) fix: Replaces bloated key list calls with lean key aliases endpoint
2025-10-06 19:51:26 -07:00
Krish Dholakia
3f6717bfd8
Merge pull request #15250 from BerriAI/litellm_next_turbopack_for_dev
Adds turbopack to the npm run dev command in UI to build faster during development
2025-10-06 19:50:41 -07:00
Achintya Rajan
eed19fb4ab slight improvement for Sidebar2 2025-10-06 19:36:40 -07:00
Achintya Rajan
6529ed4d62 hidden dashboard routing, dev and build env files 2025-10-06 19:21:34 -07:00
Ishaan Jaff
930f88078e
[MCP Gateway] Backend - Allow storing allowed tools by team/key (#15243)
* add mcp_tool_permissions column to LiteLLM_ObjectPermissionTable

* add mcp_tool_permissions

* add LiteLLM_ObjectPermissionTable

* test key/team mgmt

* fix code QA check

* fix check_tool_permission_for_key_team

* test_key_tool_permission_allows_permitted_tool

* test_list_tools_filters_by_key_team_permissions

* fix _get_tools_from_mcp_servers

* fix logger.debug

* fix check_tool_permission_for_key_team

* fix: filter_tools_by_key_team_permissions

* fix _get_team_object_permission

* fix _set_object_permission

* fix handle_update_object_permission_common

* fix add allowed tools to keys

* test add key/team level tool permissions for MCPs
2025-10-06 18:49:32 -07:00
Achintya Rajan
264f1cded1
Merge branch 'main' into litellm_view_key_pagination_calls_fix 2025-10-06 18:10:57 -07:00
=
ee00490c24 Update package.json 2025-10-06 18:05:48 -07:00
Achintya Rajan
19f0c498e5 Update general_settings.tsx 2025-10-06 17:52:13 -07:00
Ishaan Jaff
4c9bd3e0de
[MCP Gateway] UI - Select allowed tools for Key, Teams (#15241)
* fix: MCPServerSelectorProps

* Tool Permissions

* Teams: tool permissions

* Add MCP team level permissions

* fix MCP tool permissions

* allow selecting MCP tools for Keys, teams

* fix: add mcp tool level permissions by key, team

* MCP Tool permissions test
2025-10-06 14:37:43 -07:00
Achintya Rajan
b1f3553ae4 Update networking.tsx 2025-10-06 14:28:12 -07:00
Achintya Rajan
00f61b214c more window guards 2025-10-06 14:17:02 -07:00
Achintya Rajan
cee408c0c0 diagnosing next build issue 2025-10-06 14:03:53 -07:00
Achintya Rajan
f4d9e4869a renamed (console), added use clients 2025-10-06 13:33:38 -07:00
Achintya Rajan
715c4999a2 global feature flag state for app 2025-10-06 12:57:16 -07:00
=
53ee3e2634 refactoredUI feature flag 2025-10-06 10:43:42 -07:00
=
3f53d6b7ad Moved KeyInfoView to refactored folder, added deprecation notice 2025-10-06 10:43:34 -07:00
Achintya Rajan
03804cb1d2 preliminary virtual-keys refactor
simplifies handleCreate function for CreateKeyModal

moved hooks, components, files where I want them

moved virtual-key page to (console) for common layout

added layout for refactored console file structure, sidebar

wired teams to refactored components

fixing type issue

wired new top level hook useAuthorized

Adds routing to unrefactored pages

Update leftnav.tsx

Update useAuthorized.ts

useAuthorized in virtual-keys/page and deprecation notices

prelim VirtualKeyViewPage, removed old comment

Delete page.tsx
2025-10-06 10:43:26 -07:00
=
5197268a58 added and ran prettier autoformatter 2025-10-04 18:19:48 -07:00
Krish Dholakia
a9037ab61f
Merge branch 'main' into litellm_dev_10_03_2025_p1 2025-10-04 15:23:31 -07:00
Krish Dholakia
75e3f4e10d
Merge pull request #15120 from BerriAI/litellm_dev_10_01_2025_p2
(feat) Support 'guaranteed_throughput' when setting limits on keys belonging to a team
2025-10-04 15:22:47 -07:00
=
5e03ef7382 fixes bloated key alias network calls with lean endpoint 2025-10-04 14:32:15 -07:00
Krrish Dholakia
f500a866dd fix: fix ui linting errors 2025-10-04 14:31:51 -07:00
Krish Dholakia
f24a7a5191
Merge pull request #15200 from BerriAI/litellm_dev_10_04_2025_p1
fix: fix ui rerender
2025-10-04 14:18:10 -07:00
Krrish Dholakia
3300c16d74 fix: fix ui rerender 2025-10-04 14:17:36 -07:00
Krish Dholakia
7cd0944b1a
Merge pull request #15197 from ARajan1084/release-1-77-7-test-key-model-selection-fix
fix: Test key view: state on model info update
2025-10-04 14:08:42 -07:00
Krish Dholakia
7a410940bd
Merge pull request #15195 from BerriAI/litellm_dev_10_04_2025_p1
Litellm dev 10 04 2025 p1
2025-10-04 14:06:50 -07:00
Krrish Dholakia
2de05b4fd8 test: add min test for filtering logic 2025-10-04 14:05:55 -07:00
Krrish Dholakia
1bdf8cf264 fix(log_filter_logic.tsx): fix searching for end user logs, globally
ensures filters work outside of initial loaded page
2025-10-04 13:56:51 -07:00
=
06d50b55d7 fixes surrounding selection state on model info update 2025-10-04 12:13:18 -07:00
Krrish Dholakia
6745e9f3f5 fix(model_dashboard.tsx): fix query 2025-10-04 12:08:13 -07:00
Krrish Dholakia
c2eb4d7f4e fix(networking.tsx): use more efficient query for getting list of users 2025-10-04 12:07:21 -07:00
Krrish Dholakia
509927eec9 test: add vitest for clipboard http scenario 2025-10-04 11:34:12 -07:00
Krrish Dholakia
fff40e2ed6 fix(datautils.ts): fix clipboard copy issue on http endpoints 2025-10-04 11:29:15 -07:00
Krrish Dholakia
aa1b690494 feat(ui/): allow user to edit allowed tools for an mcp server 2025-10-03 19:05:56 -07:00
=
aca8ae7962 fixes issue where empty premium fields were blocking key edit 2025-10-03 18:57:50 -07:00
Krrish Dholakia
6691d0bc85 feat(proxy/): add edit / view for extra headers on MCP servers 2025-10-03 18:57:27 -07:00
Krrish Dholakia
c00cedcf26 feat(ui/): display the MCP extra headers on the UI
allow user to see what extra headers they set
2025-10-03 18:43:41 -07:00
Krrish Dholakia
274c5e963d feat(ui/): allow user to forward additional headers to the MCP server from the UI 2025-10-03 18:22:11 -07:00
Krrish Dholakia
950210790b feat(create_mcp_server.tsx): initial ui component for adding extra headers, allowed tools, disallowed tools to litellm ui
Closes LIT-1183
2025-10-03 18:12:31 -07:00
Krrish Dholakia
45f7f86480 feat(mcp_servers.tsx): show health of mcp servers on UI
allow user to know if mcp server is in invalid state
2025-10-03 17:42:06 -07:00
Krish Dholakia
b41041fc49
Merge pull request #15146 from JVenberg/fix/session-cookie-infinite-logout-loop
[Fix] Session Token Cookie Infinite Logout Loop
2025-10-03 15:23:49 -07:00
rishiganesh2002
d36c8d6bbe
[Feat] MCP Gateway Fine-grained Tools Addition (#15153)
* feat: UI to add specific tools under creating MCP connection

* chore: pydantic + prisma changes

* feat: adding specific MCP tools now works

* fix: allowed tools filtering

* chore: filtered list to mcp server cost config

* chore: update Readme

* chore: refactor the filtering

* test: Added tests

When the allowed_tests is null, empty list or populated

* chore: resolve the proxy issue

* feat: updating MCP tool filtering
2025-10-03 10:16:29 -07:00
DrQuacks
9a27eb5d0c edited tests to allow build 2025-10-02 18:32:26 -07:00
DrQuacks
d303bf6743 port less than 1 cent to spend column 2025-10-02 16:55:36 -07:00
DrQuacks
8760276918 dropdown for more than two tags 2025-10-02 16:45:36 -07:00
DrQuacks
a91a7e7750 added testing file for api keys dashboard 2025-10-02 16:17:02 -07:00
DrQuacks
4d340fa48f spend data in tags tooltip 2025-10-02 15:34:09 -07:00