Fix interrupted issue chat rerender

This commit is contained in:
dotta 2026-04-08 09:47:11 -05:00
parent 1079f21ac4
commit cbc237311f
4 changed files with 190 additions and 5 deletions

View file

@ -410,7 +410,7 @@ function createHistoricalTranscriptMessage(args: {
: [];
const message: ThreadAssistantMessage = {
id: `historical-run:${run.runId}`,
id: `run-assistant:${run.runId}`,
role: "assistant",
createdAt: toDate(run.startedAt ?? run.createdAt),
content,
@ -606,7 +606,7 @@ function createLiveRunMessage(args: {
const content = parts;
const message: ThreadAssistantMessage = {
id: `live-run:${run.id}`,
id: `run-assistant:${run.id}`,
role: "assistant",
createdAt: toDate(run.startedAt ?? run.createdAt),
content,