(content string, isError bool)
| 74 | } |
| 75 | |
| 76 | func RenderWriteFileToolResult(content string, isError bool) string { |
| 77 | if isError { |
| 78 | return "Write failed: " + truncateString(content, 150) |
| 79 | } |
| 80 | return "Write OK" |
| 81 | } |
| 82 | |
| 83 | func RenderGroupedWriteFileToolUse(inputs []WriteFileInput) string { |
| 84 | if len(inputs) == 0 { |
nothing calls this directly
no test coverage detected