Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(chat): handle missing message content in chat response

Steven Enamakel843ba621c048
diff --git a/app/src/services/chatService.ts b/app/src/services/chatService.ts
index 331882705b..a082487cc6 100644
--- a/app/src/services/chatService.ts
+++ b/app/src/services/chatService.ts
@@ -486,6 +486,13 @@ export interface ArtifactReadyEvent {
path: string;
/** Final on-disk size in bytes. */
size_bytes: number;
+ /**
+ * The producing tool call's id, when the core sends one (additive wire
+ * field). Lets the frontend route an artifact with an owning tool call to
+ * that call's own inline rendering instead of the header's live-artifact
+ * deck — see `ArtifactSnapshot.toolCallId`.
+ */
+ tool_call_id?: string;
}
/**