mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-12 14:45:38 -06:00
[PR #24781] refactor: remove unused GET /prompts/id/{id}/history/{historyId} endpoint #98876
Reference in New Issue
Block a user
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/24781
Author: @Classic298
Created: 5/15/2026
Status: 🔄 Open
Base:
dev← Head:remove-unused-prompt-history-entry-endpoint📝 Commits (1)
c239bb0refactor: remove unused GET /prompts/id/{id}/history/{historyId} endpoint📊 Changes
2 files changed (+0 additions, -75 deletions)
View changed files
📝
backend/open_webui/routers/prompts.py(+0 -43)📝
src/lib/apis/prompts/index.ts(+0 -32)📄 Description
The single-history-version endpoint's only frontend wrapper, getPromptHistoryEntry in src/lib/apis/prompts/index.ts, is dead: nothing imports or calls it, the path is referenced nowhere else, and the route handler has no internal caller. Removes the route handler and the dead wrapper. The shared PromptHistoryModel response model, the PromptHistoryItem frontend type (used by the live history-list wrapper), and the sibling DELETE on the same path are untouched.
Contributor License Agreement
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.