From 0c21ca531856c2f73da0b27ce215dab8385a9ef5 Mon Sep 17 00:00:00 2001 From: adamdottv <2363879+adamdottv@users.noreply.github.com> Date: Tue, 13 May 2025 06:51:28 -0500 Subject: chore: cleanup --- internal/tui/components/chat/message.go | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'internal/tui/components') diff --git a/internal/tui/components/chat/message.go b/internal/tui/components/chat/message.go index 4c747fe32..fa4c2e299 100644 --- a/internal/tui/components/chat/message.go +++ b/internal/tui/components/chat/message.go @@ -672,15 +672,3 @@ func renderToolMessage( } return toolMsg } - -// Helper function to format the time difference between two Unix timestamps -func formatTimestampDiff(start, end int64) string { - diffSeconds := float64(end-start) / 1000.0 // Convert to seconds - if diffSeconds < 1 { - return fmt.Sprintf("%dms", int(diffSeconds*1000)) - } - if diffSeconds < 60 { - return fmt.Sprintf("%.1fs", diffSeconds) - } - return fmt.Sprintf("%.1fm", diffSeconds/60) -} -- cgit v1.2.3