adamdottv 9 месяцев назад
Родитель
Сommit
9d17314309
1 измененных файлов с 1 добавлено и 1 удалено
  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 {
 	case agent.AgentToolName:
 		return styles.ForceReplaceBackgroundWithLipgloss(
-			toMarkdown(response.Content, false, width),
+			toMarkdown(resultContent, false, width),
 			t.Background(),
 		)
 	case tools.BashToolName: