Skip to content

Commit

Permalink
ok
Browse files Browse the repository at this point in the history
  • Loading branch information
hughcrt committed Dec 27, 2024
1 parent 37623d7 commit 948c8e6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/backend/src/utils/ingest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,8 @@ export async function ingestChatEvent(
`;
} else if (operation === "update") {
update.endedAt = timestamp;
delete shared.id;
delete update.id;

await sql`
UPDATE run SET ${sql({ ...shared, ...update })} WHERE id = ${previousRun.id}
Expand Down

0 comments on commit 948c8e6

Please sign in to comment.