Files
open-webui/backend/open_webui/routers
Classic298andClaude Opus 4.7 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-14 13:10:37 +09:00
2026-05-19 20:44:38 +04:00
2026-05-19 21:35:12 +04:00
2026-05-14 13:12:59 +09:00
2026-05-14 02:40:20 +09:00
2026-05-13 22:37:53 +09:00
2026-05-20 00:26:22 +04:00
2026-05-19 21:54:38 +04:00
2026-05-14 13:19:00 +09:00
2026-05-14 13:12:59 +09:00