mirror of
https://github.com/MoonshotAI/kimi-code.git
synced 2026-08-23 15:46:26 +00:00
fix(transcript): include the prompts entity in the REST transcript response
This commit is contained in:
parent
d86f3e3ac0
commit
3e5976ecfd
1 changed files with 2 additions and 0 deletions
|
|
@ -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: [],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue