diff options
Diffstat (limited to 'packages/tui/internal')
| -rw-r--r-- | packages/tui/internal/components/chat/message.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/tui/internal/components/chat/message.go b/packages/tui/internal/components/chat/message.go index ef097c09c..6199e9bf2 100644 --- a/packages/tui/internal/components/chat/message.go +++ b/packages/tui/internal/components/chat/message.go @@ -378,7 +378,8 @@ func renderToolDetails( stdout := metadata["stdout"] if stdout != nil { command := toolInputMap["command"].(string) - body = fmt.Sprintf("```console\n> %s\n%s```", command, stdout) + out := ansi.Strip(fmt.Sprintf("%s", stdout)) + body = fmt.Sprintf("```console\n> %s\n%s```", command, out) body = util.ToMarkdown(body, width, backgroundColor) } case "webfetch": |
