adamdottv 9 bulan lalu
induk
melakukan
9d17314309
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      internal/tui/components/chat/message.go

+ 1 - 1
internal/tui/components/chat/message.go

@@ -475,7 +475,7 @@ func renderToolResponse(toolCall message.ToolCall, response message.ToolResult,
 	switch toolCall.Name {
 	switch toolCall.Name {
 	case agent.AgentToolName:
 	case agent.AgentToolName:
 		return styles.ForceReplaceBackgroundWithLipgloss(
 		return styles.ForceReplaceBackgroundWithLipgloss(
-			toMarkdown(response.Content, false, width),
+			toMarkdown(resultContent, false, width),
 			t.Background(),
 			t.Background(),
 		)
 		)
 	case tools.BashToolName:
 	case tools.BashToolName: