Files
open-webui/src/lib/apis
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-02-11 16:24:11 -06:00
2025-05-24 00:36:30 +04:00
2026-04-01 04:36:02 -05:00
2026-04-20 03:35:17 -04:00
2026-02-09 13:28:21 -06:00
2026-05-09 06:01:02 +09:00
2026-05-14 01:43:33 +09:00
2025-10-07 14:20:07 -05:00
2026-05-14 13:12:59 +09:00
2026-02-16 14:13:49 -06:00
2026-05-13 22:37:53 +09:00
2026-04-24 17:49:22 +09:00
2026-04-14 17:27:31 -05:00
2025-12-21 18:08:36 +04:00
2026-02-11 16:24:11 -06:00
2024-12-17 13:51:29 -08:00
2026-02-11 16:24:11 -06:00
2026-04-01 04:36:02 -05:00
2026-04-24 18:48:21 +09:00
2026-05-14 13:12:59 +09:00