(content: string)
| 49 | } |
| 50 | |
| 51 | function isOversizedReadPlaceholder(content: string): boolean { |
| 52 | return ( |
| 53 | content.startsWith('[File too large to display inline:') || |
| 54 | content.startsWith('[Image too large:') || |
| 55 | content.startsWith('[Compiled artifact too large:') |
| 56 | ) |
| 57 | } |
| 58 | |
| 59 | function hasModelAttachment(result: unknown): boolean { |
| 60 | if (!result || typeof result !== 'object') { |