This commit is contained in:
Timothy Jaeryang Baek committed 2026-01-24 03:25:29 +04:00
1 parent 6c76983999
commit b7e9992d78
3 files changed
+11 -17

No files matched your search

+2 -3
View File
@@ -312,13 +312,12 @@ export const deletePromptById = async (token: string, promptId: string) => {
export const getPromptHistory = async (
token: string,
promptId: string,
limit: number = 50,
offset: number = 0
page: number = 0
): Promise<PromptHistoryItem[]> => {
let error = null;
const res = await fetch(
`${WEBUI_API_BASE_URL}/prompts/id/${promptId}/history?limit=${limit}&offset=${offset}`,
`${WEBUI_API_BASE_URL}/prompts/id/${promptId}/history?page=${page}`,
{
method: 'GET',
headers: {