2
0
Эх сурвалжийг харах

fix: don't truncate task tool output

adamdottv 10 сар өмнө
parent
commit
7398b4ce70

+ 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: