We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c2ac24f commit 4131fe2Copy full SHA for 4131fe2
apps/sim/app/workspace/[workspaceId]/home/hooks/use-chat.ts
@@ -142,6 +142,7 @@ function mapStoredMessage(msg: TaskStoredMessage): ChatMessage {
142
id: msg.id,
143
role: msg.role,
144
content: msg.content,
145
+ ...(msg.requestId ? { requestId: msg.requestId } : {}),
146
}
147
148
const hasContentBlocks = Array.isArray(msg.contentBlocks) && msg.contentBlocks.length > 0
apps/sim/hooks/queries/tasks.ts
@@ -54,6 +54,7 @@ export interface TaskStoredMessage {
54
id: string
55
role: 'user' | 'assistant'
56
content: string
57
+ requestId?: string
58
toolCalls?: TaskStoredToolCall[]
59
contentBlocks?: TaskStoredContentBlock[]
60
fileAttachments?: TaskStoredFileAttachment[]
0 commit comments