adamdottv hace 1 año
padre
commit
9d17314309
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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: