From a335eb22e8f7c00e3a1fcdc5c600b9b5102b8cf9 Mon Sep 17 00:00:00 2001 From: yuetsh <517252939@qq.com> Date: Thu, 11 Jun 2026 21:08:40 -0600 Subject: [PATCH] fix --- prompt/consumers.py | 1 + 1 file changed, 1 insertion(+) diff --git a/prompt/consumers.py b/prompt/consumers.py index fa74be3..185ed30 100644 --- a/prompt/consumers.py +++ b/prompt/consumers.py @@ -117,6 +117,7 @@ class PromptConsumer(AsyncWebsocketConsumer): "css": m.code_css, "js": m.code_js, } if m.role == "assistant" else None, + "submitted": m.submission_id is not None if m.role == "assistant" else None, "created": m.created.isoformat(), } for m in messages