Commit graph

4830 commits

Author SHA1 Message Date
Ishaan Jaffer
3ba3faefb8 fix sec scan 2025-11-22 11:50:32 -08:00
Ishaan Jaffer
ff99f93dfc fix req.txt 2025-11-22 11:46:17 -08:00
Ishaan Jaffer
1adaf043db fix TYPE_CHECKING + security 2025-11-22 10:59:17 -08:00
Ishaan Jaffer
2613b7b942 fix security 2025-11-22 10:16:33 -08:00
yuneng-jiang
cfcd597b91
Fix tests (#16972) 2025-11-22 09:44:58 -08:00
yuneng-jiang
671c2199e9
[Infra] Building UI for Testing (#16968)
* Reusable Delete Resource Modal

* Fixed small typo

* Building UI for sanity tests
2025-11-22 09:04:55 -08:00
yuneng-jiang
f56c7e1ef9
Change Bulk Invite User Roles to match backend (#16906) 2025-11-21 20:00:57 -08:00
yuneng-jiang
6620a2537b Merge remote-tracking branch 'origin' into litellm_add_model_fix_team_admin 2025-11-21 17:57:33 -08:00
Ishaan Jaff
34f0c3c4dc
Remove cost tracking disabled tooltip in chat ui (#16953)
* Fix: Simplify cost tooltip in ResponseMetrics

Co-authored-by: ishaan <ishaan@berri.ai>

* Fix: Display cost metric correctly in ResponseMetrics

Co-authored-by: ishaan <ishaan@berri.ai>

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: ishaan <ishaan@berri.ai>
2025-11-21 17:25:37 -08:00
yuneng-jiang
49e331329b
Remove console logs and errors from model tab (#16455) 2025-11-21 16:45:11 -08:00
yuneng-jiang
38d9906029 Merge remote-tracking branch 'origin' into litellm_add_model_fix_team_admin 2025-11-21 16:31:53 -08:00
yuneng-jiang
b6b8f46b36
Change Public Model Hub to use proxyBaseUrl (#16892) 2025-11-21 15:59:03 -08:00
YutaSaito
7c4ef090c1
docs: fix mcp url format (#16940)
* docs: fix mcp url format

* fix: update Cursor MCP example to use url instead of server_url
2025-11-21 15:43:26 -08:00
Ishaan Jaff
fb38763eb4
[Feat] UI - Show "get code" section for prompt management + minor polish of showing version history (#16941)
* add _get_prompt_data_from_dotprompt_content

* fix pre call hook for prompt template

* fix: get_latest_version_prompt_id

* fix get_latest_version_prompt_id

* test_get_latest_version_prompt_id

* fx info and delete lookup for prompts

* refactor prompt table

* - rename to prompt studio

* fix get_prompt_info

* fix endpoints

* add PromptCodeSnippets

* prompt info view

* add prompt info view

* show correct version for prompts

* fix version selector

* fix endpoints and version

* fix get_prompt_info

* fix version display
2025-11-21 14:00:33 -08:00
Ishaan Jaff
c9ac1949ee
[Fix] Prompt Management - UI, allow seeing model, prompt id for Prompt (#16932)
* add _get_prompt_data_from_dotprompt_content

* fix pre call hook for prompt template

* fix: get_latest_version_prompt_id

* fix get_latest_version_prompt_id

* test_get_latest_version_prompt_id

* fx info and delete lookup for prompts

* refactor prompt table
2025-11-21 13:59:54 -08:00
yuneng-jiang
5dd2ee0bff
Change /public fields to honor server root path (#16930) 2025-11-21 13:59:16 -08:00
yuneng-jiang
4b25398afe
[Infra] CI/CD Fixes (#16937)
* Attempt CI/CD Fix

* Adding test for coverage

* Adding max depth to copilot and vertex

* Fixing mypy lint and docker database

* Fixing UI build issues

* Update playwright test
2025-11-21 13:58:19 -08:00
Ishaan Jaff
97d9da93e0
[Feat] Prompt Management - Allow viewing version history (#16901)
* TestPromptRequest

* add prompts/test endpoint for testing prompt

* TestPromptTestEndpoint

* feat: working v1 of this ui

* workig prompt endpoints

* add chat ui for prompts

* add conversation panel

* add init chat ui

* allow clicking edit prompt

* fix use get_base_prompt_id

* add endpoints for viewing prompt versions

* TestPromptVersioning

* add getPromptVersions

* add VersionHistorySidePanel

* allow viewing version history

* add version history
2025-11-21 08:54:52 -08:00
Ishaan Jaff
41566722af
[Feat] UI - Prompt Management - Allow testing prompts with Chat UI (#16898)
* TestPromptRequest

* add prompts/test endpoint for testing prompt

* TestPromptTestEndpoint

* feat: working v1 of this ui

* workig prompt endpoints

* add chat ui for prompts

* add conversation panel

* add init chat ui
2025-11-21 08:53:18 -08:00
yuneng-jiang
d672263fe3 Change litellm_model_cost_map to public route 2025-11-20 20:59:31 -08:00
yuneng-jiang
b50790aaad Revert "Expose new model provider map endpoint and use in add model workflow"
This reverts commit 8a4fefc565.
2025-11-20 20:40:08 -08:00
yuneng-jiang
9120a02474
Change favicon (#16837) 2025-11-19 20:38:22 -08:00
yuneng-jiang
d22ea6f15f
[Feature] UI - Model Compare (#16855)
* Temp commit for branch switching, Compare WIP

* Model Compare UI
2025-11-19 19:07:11 -08:00
Krish Dholakia
65ff1eff56
MCP Hub - publish/discover MCP Servers within a company (#16857)
* feat: initial commit adding 'public_mcp_servers' endpoint

allow admin to make mcp servers public for AI Hub

* feat: expose public endpoint for getting public mcp's

* feat: initial flow for making MCP servers public via LiteLLM proxy

* fix: fix message on make mcp public

* fix: indicate existing public mcp servers are public, when making mcp servers public

* style: have a public column indicating if mcp server has been made public

* feat: expose new MCP Hub

* feat: include usage examples for mcp hub
2025-11-19 19:06:21 -08:00
Krrish Dholakia
2d7365c795 refactor: refactor ai hub for internal users to show public model page
more useful than just seeing models they know they have access to
2025-11-19 18:50:10 -08:00
Ishaan Jaff
cd6256f64a
[Feat] Prompt Management - Add UI for editing the prompts (#16853)
* v0 for prompt management

* v0

* clean up view of prompt editor

* commit editor view

* refactor prompt editor view

* ui - refactor prompt editor

* add move message

* add prompt editor view

* fix allow viewing dotprompt file

* add dotprompt_content

* handleSave for Prompt

* ui fix build fail

* ui fix build
2025-11-19 16:26:11 -08:00
yuneng-jiang
5f463cef64
Fix edit logging settings not appearing (#16798) 2025-11-18 20:31:34 -08:00
yuneng-jiang
ab8704f60d
Change placeholder for Azure in Add Model (#16597) 2025-11-18 20:13:48 -08:00
yuneng-jiang
69fcedb6d9
[Fix] UI - Add css to truncate long request ids in request viewer (#16665)
* Add css to truncate long request ids in request viewer

* Show tooltip with entire request id when request id is truncated
2025-11-18 20:12:19 -08:00
yuneng-jiang
137c6b03f7
Deactivate delete button on model table for config models (#16787) 2025-11-18 19:51:59 -08:00
yuneng-jiang
d0e806d1b3
Add additional model settings to chat models in test key (#16793) 2025-11-18 19:49:16 -08:00
yuneng-jiang
7b9c409760
Mock tremor's tooltip to fix flaky tests (#16786) 2025-11-18 17:40:50 -08:00
yuneng-jiang
8a4fefc565 Expose new model provider map endpoint and use in add model workflow 2025-11-18 15:45:35 -08:00
yuneng-jiang
f9ec353b80
[Feature] UI - Allow setting base_url in API reference docs (#16674)
* Allow setting base_url in API reference docs

* Add logic to change base url for test key page
2025-11-18 11:27:28 -08:00
yuneng-jiang
25d97f50c7
Fallbacks icon button tooltips and delete with friction (#16737)
Co-authored-by: Krish Dholakia <krrishdholakia@gmail.com>
2025-11-17 19:50:41 -08:00
yuneng-jiang
11f009a5a4
Teams table empty state (#16738) 2025-11-17 19:49:33 -08:00
yuneng-jiang
54425eb57b
Fix flaky tests due to antd Notification Manager (#16740) 2025-11-17 19:47:20 -08:00
Krrish Dholakia
e156c66575 fix: fix linting error 2025-11-17 19:46:39 -08:00
yuneng-jiang
f1c5ed19aa
Delete user and mcp server modal and mcp table tooltips (#16751) 2025-11-17 19:45:24 -08:00
Matt Cowger
4be0c6a226
JSONpanel (#16687) 2025-11-15 20:11:42 -08:00
Krish Dholakia
39917f2ff7
Agents - AI Hub, make agents discoverable on model hub page for internal discovery (#16678)
* feat: initial commit adding agent hub to ui

* feat: add viewable agent hub

* feat: working support for making both config + db agents public via new 'public_agent_groups' list

* fix: agents.py

fix types

* feat: working PATCH endpoint for UI changes

* feat: add new agents panel with working crud

* refactor: refactor to show created_at on be/fe

* style: align new page with the agents table

* style: more style alignment logic

* feat: return if agent is public or not in /v1/agents

* feat: initial commit adding ui flow for making agents discoverable

* feat: new batch make public endpoint

* feat(public_model_hub.tsx): show public agents on public model hub table page

* fix(public_model_hub.tsx): add code examples for using the agent in a2a

* fix: fix indicating if agent has already been made public

* docs: document expected spec for agents is A2A

* docs: add agent hub docs

* docs: document making agents discoverable

* docs: add demo video to docs

* fix: fix ui linting errors

* fix: update tests
2025-11-15 18:25:16 -08:00
yuneng-jiang
6375959afe
Edit add callbacks route to use data from backend (#16699) 2025-11-15 18:00:36 -08:00
YutaSaito
84df0634f1
fix: key never expires #16005 (#16692) 2025-11-15 17:55:13 -08:00
yuneng-jiang
4de182c98f
[Feature] UI - Organization Usage in Usage Tab (#16614)
* Organization Usage UI

* Resolved build issues

* Added a test
2025-11-15 16:23:48 -08:00
Jorge Yero Salazar
15a04681ff
Fix UI logos loading with SERVER_ROOT_PATH (#16618) 2025-11-14 19:38:50 -08:00
yuneng-jiang
473886d35a
user_alias in read and update path (#16669) 2025-11-14 19:34:28 -08:00
Ishaan Jaffer
acad73018d fix pkg lock 2025-11-14 18:59:49 -08:00
yuneng-jiang
09e226b140
[Feature] UI - New Callbacks table (#16512)
* New Callbacks table

* Change Action Buttons to use Icons

* Changed to follow our existing pattern

* Removed unused import
2025-11-14 18:36:59 -08:00
yuneng-jiang
6063a75155
Remove Description Field from LLM Credentials (#16608) 2025-11-14 17:48:44 -08:00
yuneng-jiang
f1ff195bd8
Add Model uses endpoint info (#16664) 2025-11-14 16:08:27 -08:00