(input BashInput)
| 114 | } |
| 115 | |
| 116 | func RenderBashToolUse(input BashInput) string { |
| 117 | command := input.Command |
| 118 | if len([]rune(command)) > 120 { |
| 119 | command = string([]rune(command)[:117]) + "..." |
| 120 | } |
| 121 | return "Bash " + command |
| 122 | } |
| 123 | |
| 124 | func RenderBashToolResult(content string, isError bool) string { |
| 125 | if isError { |
no outgoing calls
no test coverage detected