Jelajahi Sumber

fix: don't truncate task tool output

adamdottv 11 bulan lalu
induk
melakukan
7398b4ce70
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

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