Переглянути джерело

fix: don't truncate task tool output

adamdottv 1 рік тому
батько
коміт
7398b4ce70
1 змінених файлів з 1 додано та 1 видалено
  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: