(content: string)
| 1382 | } |
| 1383 | |
| 1384 | function markdownBody(content: string): RunEntryBody | undefined { |
| 1385 | if (!content) { |
| 1386 | return undefined |
| 1387 | } |
| 1388 | |
| 1389 | return { |
| 1390 | type: "markdown", |
| 1391 | content, |
| 1392 | } |
| 1393 | } |
| 1394 | |
| 1395 | function structuredBody(commit: StreamCommit, raw: string): RunEntryBody | undefined { |
| 1396 | const snap = toolSnapshot(commit, raw) |