litellm/litellm-proxy-extras/litellm_proxy_extras/migrations
Krish Dholakia 3119064e94
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
2025-08-02 22:33:37 -07:00
..
20250326162113_baseline install prisma migration files - connects litellm proxy to litellm's prisma migration files (#9637) 2025-03-29 15:27:09 -07:00
20250326171002_add_daily_user_table install prisma migration files - connects litellm proxy to litellm's prisma migration files (#9637) 2025-03-29 15:27:09 -07:00
20250327180120_add_api_requests_to_daily_user_table install prisma migration files - connects litellm proxy to litellm's prisma migration files (#9637) 2025-03-29 15:27:09 -07:00
20250329084805_new_cron_job_table install prisma migration files - connects litellm proxy to litellm's prisma migration files (#9637) 2025-03-29 15:27:09 -07:00
20250331215456_track_success_and_failed_requests_daily_agg_table UI (new_usage.tsx): Report 'total_tokens' + report success/failure calls (#9675) 2025-03-31 22:48:43 -07:00
20250411215431_add_managed_file_table Litellm add managed files db (#9930) 2025-04-12 08:24:46 -07:00
20250412081753_team_member_permissions [DB / Infra] Add new column team_member_permissions (#9941) 2025-04-12 09:06:04 -07:00
20250415151647_add_cache_read_write_tokens_daily_spend_transactions [Feat - Cost Tracking improvement] Track prompt caching metrics in DailyUserSpendTransactions (#10029) 2025-04-15 21:40:57 -07:00
20250415191926_add_daily_team_table Add aggregate team based usage logging (#10039) 2025-04-15 20:58:48 -07:00
20250416115320_add_tag_table_to_db Add aggregate spend by tag (#10071) 2025-04-16 12:26:21 -07:00
20250416151339_drop_tag_uniqueness_requirement Add new /tag/daily/activity endpoint + Add tag dashboard to UI (#10073) 2025-04-16 15:24:44 -07:00
20250416185146_add_allowed_routes_litellm_verification_token [Feat SSO] Add LiteLLM SCIM Integration for Team and User management (#10072) 2025-04-16 19:21:47 -07:00
20250425182129_add_session_id [Feat] Responses API - Add session management support for non-openai models (#10321) 2025-04-25 23:24:24 -07:00
20250430193429_add_managed_vector_stores [Feat] Vector Stores/KnowledgeBases - Allow defining Vector Store Configs (#10448) 2025-04-30 21:49:59 -07:00
20250507161526_add_mcp_table_to_db [MCP Gateway] add Litellm mcp alias for prefixing (#12994) 2025-07-25 17:57:52 -07:00
20250507161527_add_health_check_fields_to_mcp_servers fix migrations (#13157) 2025-07-30 15:56:45 -07:00
20250507184818_add_mcp_key_team_permission_mgmt Contributor PR - MCP Server DB Schema (#10634) (#10641) 2025-05-07 21:09:51 -07:00
20250508072103_add_status_to_spendlogs [Refactor - Filtering Spend Logs] Add status to root of SpendLogs table (#10661) 2025-05-08 11:29:25 -07:00
20250509141545_use_big_int_for_daily_spend_tables build: use big int for daily spend tables 2025-05-09 14:16:18 -07:00
20250510142544_add_session_id_index_spend_logs [DB] Add index for session_id on LiteLLM_SpendLogs (#10727) 2025-05-10 14:28:20 -07:00
20250514142245_add_guardrails_table build: add guardrails table 2025-05-14 14:23:07 -07:00
20250522223020_managed_object_table Litellm add file validation (#11081) 2025-05-22 23:05:45 -07:00
20250526154401_allow_null_entity_id build(ui/): Allow empty values in daily agg table + reintroduce 'unassigned' teams in spend tracking 2025-05-26 22:03:34 -07:00
20250528185438_add_vector_stores_to_object_permissions build: add vector stores to object permissions 2025-05-28 18:55:05 -07:00
20250603210143_cascade_budget_changes build: cascade budget changes 2025-06-03 21:02:19 -07:00
20250618225828_add_health_check_table build: update with new migration file 2025-06-18 23:07:13 -07:00
20250625145206_cascade_budget_and_loosen_managed_file_json Store batch output file id in DB + Store batch file status in DB + (experimental) BATCH API COST TRACKING 2025-06-25 22:41:22 -07:00
20250625213625_add_status_to_managed_object_table Store batch output file id in DB + Store batch file status in DB + (experimental) BATCH API COST TRACKING 2025-06-25 22:41:22 -07:00
20250707212517_add_mcp_info_column_mcp_servers migration - add mcp_info 2025-07-07 21:25:47 -07:00
20250707230009_add_mcp_namespaced_tool_name MCP - usage tracking (#12397) 2025-07-08 22:08:16 -07:00
20250711220620_add_stdio_mcp add new migration 2025-07-11 22:07:09 -07:00
20250718125714_add_litellm_params_to_vector_stores build(migration.sql): add new sql migration 2025-07-18 12:57:28 -07:00
20250802162330_prompt_table Prompt Management - add prompts on UI (#13240) 2025-08-02 22:33:37 -07:00
migration_lock.toml install prisma migration files - connects litellm proxy to litellm's prisma migration files (#9637) 2025-03-29 15:27:09 -07:00