adamdottv 1 anno fa
parent
commit
9d17314309
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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: