Skip to content

The open source coding agent.

TypeScript

fix: tweak

adamdottv9d173143099d
diff --git a/internal/tui/components/chat/message.go b/internal/tui/components/chat/message.go
index 322f8bc0b61..58c0aed4954 100644
--- a/internal/tui/components/chat/message.go
+++ b/internal/tui/components/chat/message.go
@@ -475,7 +475,7 @@ func renderToolResponse(toolCall message.ToolCall, response message.ToolResult,
switch toolCall.Name {
case agent.AgentToolName:
return styles.ForceReplaceBackgroundWithLipgloss(
- toMarkdown(response.Content, false, width),
+ toMarkdown(resultContent, false, width),
t.Background(),
)
case tools.BashToolName: