fix(transcript): include the prompts entity in the REST transcript response

This commit is contained in:
qer 2026-08-20 14:40:29 +08:00
parent d86f3e3ac0
commit 3e5976ecfd

View file

@ -160,6 +160,7 @@ export function registerTranscriptRoutes(app: TranscriptRouteHost, deps: Transcr
interactions: [...transcript.getInteractions().values()],
attachments: [...transcript.getAttachments().values()],
todos: [...transcript.getTodos().values()],
prompts: [...transcript.getPrompts().values()],
meta: transcript.getMeta(),
agents: store.agents(),
pending_interactions: transcript.listPendingInteractions(),
@ -197,6 +198,7 @@ export function registerTranscriptRoutes(app: TranscriptRouteHost, deps: Transcr
interactions: snapshot.interactions,
attachments: snapshot.attachments,
todos: snapshot.todos,
prompts: snapshot.prompts,
meta: snapshot.meta,
agents: roster,
pending_interactions: [],