We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d4f7a0 commit c956577Copy full SHA for c956577
1 file changed
apps/sim/app/workspace/[workspaceId]/home/hooks/use-chat.ts
@@ -1902,10 +1902,7 @@ export function useChat(
1902
content: streamingContentRef.current,
1903
contentBlocks: streamingBlocksRef.current,
1904
})
1905
- const seededMessages =
1906
- assistantMessage.content || assistantMessage.contentBlocks?.length
1907
- ? [userMsg, assistantMessage]
1908
- : [userMsg]
+ const seededMessages = [userMsg, assistantMessage]
1909
queryClient.setQueryData<TaskChatHistory>(taskKeys.detail(payloadChatId), {
1910
id: payloadChatId,
1911
title: null,
0 commit comments