(
context: ReplayRenderContext,
kind: TranscriptEntry['kind'],
content: string,
renderMode: TranscriptEntry['renderMode'],
extras: { detail?: string; bullet?: string } = {},
)
| 141 | } |
| 142 | |
| 143 | export function replayEntry( |
| 144 | context: ReplayRenderContext, |
| 145 | kind: TranscriptEntry['kind'], |
| 146 | content: string, |
| 147 | renderMode: TranscriptEntry['renderMode'], |
| 148 | extras: { detail?: string; bullet?: string } = {}, |
| 149 | ): TranscriptEntry { |
| 150 | return { |
| 151 | id: nextTranscriptId(), |
| 152 | kind, |
| 153 | turnId: context.currentTurnId, |
| 154 | renderMode, |
| 155 | content, |
| 156 | detail: extras.detail, |
| 157 | bullet: extras.bullet, |
| 158 | }; |
| 159 | } |
| 160 | |
| 161 | export function collectReplayMessageContent( |
| 162 | target: ReplayRenderContext['assistant'], |
no test coverage detected