From ce3b0dbe849ed58285adfca49d42a7a1e3370589 Mon Sep 17 00:00:00 2001 From: bennykok Date: Sun, 19 Jan 2025 12:39:24 +0800 Subject: [PATCH] chore: log prompt_id on start --- custom_routes.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/custom_routes.py b/custom_routes.py index f442c04..94253da 100644 --- a/custom_routes.py +++ b/custom_routes.py @@ -1280,6 +1280,8 @@ async def send_json_override(self, event, data, sid=None): if prompt_id in prompt_metadata: prompt_metadata[prompt_id].start_time = time.perf_counter() + logger.info("Executing prompt: " + prompt_id) + asyncio.create_task(update_run(prompt_id, Status.RUNNING))