(entry: TranscriptEntry, lookup: ToolLookup)
| 424 | } |
| 425 | |
| 426 | function toCompact(entry: TranscriptEntry, lookup: ToolLookup): string { |
| 427 | return entry.content.map(b => toCompactBlock(b, entry.role, lookup)).join('') |
| 428 | } |
| 429 | |
| 430 | /** |
| 431 | * Build a compact transcript string including user messages and assistant tool_use blocks. |
no test coverage detected