litellm/ui/litellm-dashboard
Krrish Dholakia 0d0a65a98f Squashed commit of the following:
commit 3119064e94
Author: Krish Dholakia <krrishdholakia@gmail.com>
Date:   Sat Aug 2 22:33:37 2025 -0700

    Prompt Management - add prompts on UI  (#13240)

    * fix(create_key_button.tsx): add prompts on UI

    * feat(key_management_endpoints.py): support adding prompt to key via `/key/update`

    * fix(key_info_view.tsx): show existing prompts on key in key_info_view.tsx

    * fix(key_edit_view.tsx): UX - disable premium feature for non-premium users

    prevent accidental clicking

    * fix(create_key_button.tsx): disable premium features behind flag, prevent errors

    * feat(prompts.tsx): add new ui component to view created prompts

    enables viewing prompts created on config

    * feat(prompt_info.tsx): add component for viewing the prompt information

    * feat(prompt_endpoints.py): support converting dotprompt to json structure + accept json structure in promptmanager

    allows prompt manager to work with api endpoints

    * test(test_prompt_manager.py): add unit tests for json data input

    * feat(dotprompt/__init__.py): add prompt data to dotpromptmanager

    * fix(prompt_endpoints.py): working crud endpoints for prompt management

    * feat(prompts/): support `prompt_file` for dotprompt

    allows to precisely point to the prompt file a prompt should use

    * feat(proxy/utils.py): resolve prompt id correctly

    resolves user sent prompt id with internal prompt id

    * feat(schema.prisma): initial pr with db schema for prompt management table

    allows post endpoints to work with backend

    * feat(prompt_endpoints.py): use db in patch_prompt endpoint

    * feat(prompt_endpoints.py): use db for update_prompt endpoint

    * feat(prompt_endpoints.py): use db on prompt delete endpoint

    * build(schema.prisma): add prompt tale to schema.prisma in litellm-proxy-extras

    * build(migration.sql): add new sql migration file

    * fix(init_prompts.py): fix init

    * feat(prompt_info_view.tsx): show the raw prompt template on ui

    allows developer to know the prompt template they'll be calling

    * feat(add_prompt_form.tsx): working ui add prompt flow

    allows user to add prompts to litellm via ui

    * build(ui/): styling fixes

    * build(ui/): prompts.tsx

    styling improvements

    * fix(add_prompt_form.tsx): styling improvements

    * build(prompts.tsx): styling improvements

    * build(ui/): styling improvements

    * build(ui/): fix ui error

    * fix: fix ruff check

    * docs: document new api params

    * test: update tests

commit e47b30a76d
Author: Krish Dholakia <krrishdholakia@gmail.com>
Date:   Sat Aug 2 19:34:18 2025 -0700

    Prompt Management - Add table + prompt info page to UI  (#13232)

    * fix(create_key_button.tsx): add prompts on UI

    * feat(key_management_endpoints.py): support adding prompt to key via `/key/update`

    * fix(key_info_view.tsx): show existing prompts on key in key_info_view.tsx

    * fix(key_edit_view.tsx): UX - disable premium feature for non-premium users

    prevent accidental clicking

    * fix(create_key_button.tsx): disable premium features behind flag, prevent errors

    * feat(prompts.tsx): add new ui component to view created prompts

    enables viewing prompts created on config

    * feat(prompt_info.tsx): add component for viewing the prompt information

commit b79f55eec0
Author: Krish Dholakia <krrishdholakia@gmail.com>
Date:   Sat Aug 2 19:33:17 2025 -0700

    UI - Add giving keys prompt access (#13233)

    * fix(create_key_button.tsx): add prompts on UI

    * feat(key_management_endpoints.py): support adding prompt to key via `/key/update`

    * fix(key_info_view.tsx): show existing prompts on key in key_info_view.tsx

    * fix(key_edit_view.tsx): UX - disable premium feature for non-premium users

    prevent accidental clicking

    * fix(create_key_button.tsx): disable premium features behind flag, prevent errors

    * fix(key_management_endpoints.py): fix key update logic \

    * fix: fix check

    * docs: document new params

commit 4c217c66f5
Author: Ishaan Jaff <ishaanjaffer0324@gmail.com>
Date:   Sat Aug 2 17:26:40 2025 -0700

    docs User Agent Activity Tracking

commit 2ee4e84406
Author: Ishaan Jaff <ishaanjaffer0324@gmail.com>
Date:   Sat Aug 2 16:47:44 2025 -0700

    docs fix

commit 06856b4d37
Author: Ishaan Jaff <ishaanjaffer0324@gmail.com>
Date:   Sat Aug 2 15:47:09 2025 -0700

    docs fix

commit 0f9f5f7a6c
Author: Ishaan Jaff <ishaanjaffer0324@gmail.com>
Date:   Sat Aug 2 15:44:59 2025 -0700

    docs fix

commit 69a360429c
Author: Ishaan Jaff <ishaanjaffer0324@gmail.com>
Date:   Sat Aug 2 15:34:14 2025 -0700

    agent 4.png

commit e32169dc37
Author: Ishaan Jaff <ishaanjaffer0324@gmail.com>
Date:   Sat Aug 2 15:29:44 2025 -0700

    docs cost tracking coding

commit 340b64a46a
Author: Ishaan Jaff <ishaanjaffer0324@gmail.com>
Date:   Sat Aug 2 15:18:04 2025 -0700

    docs - Track Usage for Coding Tools

commit 9b029c35be
Author: Ishaan Jaff <ishaanjaffer0324@gmail.com>
Date:   Sat Aug 2 15:06:12 2025 -0700

    docs RC

commit 8d6b333909
Author: Ishaan Jaff <ishaanjaffer0324@gmail.com>
Date:   Sat Aug 2 15:00:48 2025 -0700

    docs computer use

commit e306fb6eee
Author: Ishaan Jaff <ishaanjaffer0324@gmail.com>
Date:   Sat Aug 2 14:15:10 2025 -0700

    [docs release notes] (#13237)

    * docs release notes

    * docs release notes

    * docs rnotes

    * docs api version

    * fixes docs

    * docs rn

commit 5dfc88473f
Author: Ishaan Jaff <ishaanjaffer0324@gmail.com>
Date:   Sat Aug 2 13:30:51 2025 -0700

    fixes MCP gateway docs

commit 6929767be2
Author: Ishaan Jaff <ishaanjaffer0324@gmail.com>
Date:   Sat Aug 2 12:56:00 2025 -0700

    docs release notes
2025-08-05 21:59:54 -07:00
..
out ui new build 2025-08-02 12:37:45 -07:00
public Added Voyage, Jinai, Deepinfra and VolcEngine providers on the UI (#13131) 2025-07-30 10:01:07 -07:00
src Squashed commit of the following: 2025-08-05 21:59:54 -07:00
.eslintrc.json build(ui/litellm-dashboard): initial commit of litellm dashboard 2024-01-27 12:12:48 -08:00
.prettierrc.json Consistent layout for Create and Back buttons on all the pages (#12542) 2025-07-12 08:18:02 -07:00
build_ui.sh Revert "(build) fix ui build" 2025-05-28 21:21:10 -07:00
build_ui_custom_path.sh build ui on custom path 2024-08-05 16:34:37 -07:00
next.config.mjs Custom Root Path Improvements: don't require reserving /litellm route (#11460) 2025-06-05 16:36:47 -07:00
package-lock.json build(deps): bump form-data from 4.0.0 to 4.0.4 in /ui/litellm-dashboard (#12851) 2025-07-21 22:05:38 -07:00
package.json [Feat] UI Allow testing /v1/messages on the Test Key Page (#11930) 2025-06-20 13:31:24 -07:00
postcss.config.js build(ui/litellm-dashboard): initial commit of litellm dashboard 2024-01-27 12:12:48 -08:00
README.md build(ui/litellm-dashboard): initial commit of litellm dashboard 2024-01-27 12:12:48 -08:00
tailwind.config.js (ui) adjust size 2024-03-28 23:27:23 -07:00
tailwind.config.ts (ui) use indigo theme 2024-02-03 18:35:32 -08:00
tsconfig.json build(ui/litellm-dashboard): initial commit of litellm dashboard 2024-01-27 12:12:48 -08:00
ui_colors.json ui - fix filter by color scheme 2024-06-03 18:39:32 -07:00

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Inter, a custom Google Font.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.