open-webui/src
Classic298 b9911c8bc6
refactor: remove unused GET /prompts/command/{command} endpoint (#24782)
The lookup-prompt-by-command endpoint's only frontend wrapper,
getPromptByCommand, is dead: nothing imports or calls it, the path is
referenced nowhere else, and the route handler has no internal caller
(slash-command resolution happens client-side from the loaded prompt
list). Removes the route handler, its section header, and the dead
wrapper.

The shared Prompts.get_prompt_by_command data-layer method is kept: it
is still used by create/update prompt validation (prompts.py:175, 275,
340). PromptAccessResponse and AccessGrants are untouched.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-20 00:28:07 +04:00
..
lib refactor: remove unused GET /prompts/command/{command} endpoint (#24782) 2026-05-20 00:28:07 +04:00
routes fix: wire workspace.skills into the sidebar + workspace-index gates (#24729) 2026-05-15 09:34:23 +09:00
app.css refac 2026-04-21 13:57:43 +09:00
app.d.ts chat feature added 2023-10-08 15:38:42 -07:00
app.html Enhance image loading performance by adding preload links and setting loading attributes for logos in app.html (#24011) 2026-04-24 15:25:54 +09:00
tailwind.css refac 2026-03-23 23:39:52 -05:00