The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
chore: files changed app/src/store/chatRuntimeSlice.ts
Steven Enamakelf8f69e4e1106
diff --git a/app/src/store/chatRuntimeSlice.ts b/app/src/store/chatRuntimeSlice.tsindex 5bd5e9b5e9..3036ab2fa5 100644--- a/app/src/store/chatRuntimeSlice.ts+++ b/app/src/store/chatRuntimeSlice.ts@@ -2068,6 +2068,7 @@ const chatRuntimeSlice = createSlice({title,status: 'in_progress',updatedAt: Date.now(),+ toolCallId: toolCallId ?? existing?.toolCallId,};state.artifactsByThread[threadId] = upsertArtifact(state.artifactsByThread[threadId],@@ -2088,9 +2089,13 @@ const chatRuntimeSlice = createSlice({title: string;path: string;sizeBytes: number;+ toolCallId?: string;}>) => {- const { threadId, artifactId, kind, title, path, sizeBytes } = action.payload;+ const { threadId, artifactId, kind, title, path, sizeBytes, toolCallId } = action.payload;+ const existing = (state.artifactsByThread[threadId] ?? []).find(+ entry => entry.artifactId === artifactId+ );const snapshot: ArtifactSnapshot = {artifactId,kind,@@ -2099,6 +2104,7 @@ const chatRuntimeSlice = createSlice({path,sizeBytes,updatedAt: Date.now(),+ toolCallId: toolCallId ?? existing?.toolCallId,};state.artifactsByThread[threadId] = upsertArtifact(state.artifactsByThread[threadId],@@ -2118,9 +2124,13 @@ const chatRuntimeSlice = createSlice({kind: ArtifactSnapshot['kind'];title: string;error: string;+ toolCallId?: string;}>) => {- const { threadId, artifactId, kind, title, error } = action.payload;+ const { threadId, artifactId, kind, title, error, toolCallId } = action.payload;+ const existing = (state.artifactsByThread[threadId] ?? []).find(+ entry => entry.artifactId === artifactId+ );const snapshot: ArtifactSnapshot = {artifactId,kind,@@ -2128,6 +2138,7 @@ const chatRuntimeSlice = createSlice({status: 'failed',error,updatedAt: Date.now(),+ toolCallId: toolCallId ?? existing?.toolCallId,};state.artifactsByThread[threadId] = upsertArtifact(state.artifactsByThread[threadId],