From ac2307b2efbdf8585002a6b610e910f82f8dc2c4 Mon Sep 17 00:00:00 2001 From: Danny Avila Date: Wed, 9 Sep 2026 15:51:47 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=95=B3=EF=B8=8F=20fix:=20Clear=20Nullable?= =?UTF-8?q?=20Queue=20Anchor=20(#15794)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/src/hooks/Chat/useChatFunctions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/hooks/Chat/useChatFunctions.ts b/client/src/hooks/Chat/useChatFunctions.ts index 075dedbdfd..2229640beb 100644 --- a/client/src/hooks/Chat/useChatFunctions.ts +++ b/client/src/hooks/Chat/useChatFunctions.ts @@ -647,7 +647,7 @@ export default function useChatFunctions({ model: convo?.model, error: false, iconURL, - clientQueueParentMessageId: regenerateShaped ? messageId : intermediateId, + clientQueueParentMessageId: regenerateShaped ? (messageId ?? undefined) : intermediateId, /** * Seed the assistant placeholder with the turn's manually-invoked * skill names so `ContentParts` can render interim `SkillCall` cards