This commit is contained in:
Neha Prasad 2026-03-29 03:13:51 +00:00 committed by GitHub
commit 938be4a37d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -900,6 +900,8 @@ class PromptServer():
prompt_id = request.match_info.get("prompt_id", None) prompt_id = request.match_info.get("prompt_id", None)
return web.json_response(self.prompt_queue.get_history(prompt_id=prompt_id)) return web.json_response(self.prompt_queue.get_history(prompt_id=prompt_id))
@routes.get("/history_v2/{prompt_id}")(get_history_prompt_id)
@routes.get("/queue") @routes.get("/queue")
async def get_queue(request): async def get_queue(request):
queue_info = {} queue_info = {}