Browse Source

fix: don't truncate task tool output

adamdottv 9 months ago
parent
commit
7398b4ce70
1 changed files with 1 additions and 1 deletions
  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 {
 	switch toolCall.Name {
 	case agent.AgentToolName:
 	case agent.AgentToolName:
 		return styles.ForceReplaceBackgroundWithLipgloss(
 		return styles.ForceReplaceBackgroundWithLipgloss(
-			toMarkdown(resultContent, false, width),
+			toMarkdown(response.Content, false, width),
 			t.Background(),
 			t.Background(),
 		)
 		)
 	case tools.BashToolName:
 	case tools.BashToolName: