(toolBlock: ToolContentBlock)
| 431 | } |
| 432 | |
| 433 | function hasToolResultOutput(toolBlock: ToolContentBlock): boolean { |
| 434 | const outputStr = typeof toolBlock.output === 'string' ? toolBlock.output : '' |
| 435 | return outputStr.length > 0 || toolBlock.outputRaw !== undefined |
| 436 | } |
| 437 | |
| 438 | /** |
| 439 | * Decide whether the direct edit tool renderer should show a diff preview. |
no outgoing calls
no test coverage detected