Files
open-webui/backend/open_webui
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
..
2026-05-13 12:44:12 +09:00
2026-05-12 03:04:35 +09:00
2026-05-20 00:22:27 +04:00
2026-05-09 02:38:08 +09:00
2026-05-19 21:54:38 +04:00
2026-05-20 00:22:27 +04:00
2026-05-19 21:54:38 +04:00