(text: string)
| 635 | } |
| 636 | |
| 637 | function formatTextCodeBlock(text: string): string { |
| 638 | const safe = text.trim().replace(/```/g, '``\u200b`'); |
| 639 | return `\n\`\`\`text\n${safe}\n\`\`\`\n`; |
| 640 | } |
| 641 | |
| 642 | function renderJson(value: unknown, maxChars: number): string { |
| 643 | try { |
no outgoing calls
no test coverage detected