From 01b6bf5bb7307246cb2cca7f1cbc8aba693941cc Mon Sep 17 00:00:00 2001 From: adamdottv <2363879+adamdottv@users.noreply.github.com> Date: Tue, 13 May 2025 13:08:43 -0500 Subject: chore: refactor db --- internal/tui/components/chat/message.go | 2 +- internal/tui/components/logs/table.go | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'internal/tui/components') diff --git a/internal/tui/components/chat/message.go b/internal/tui/components/chat/message.go index e7a6f7237..9c7ac2aa1 100644 --- a/internal/tui/components/chat/message.go +++ b/internal/tui/components/chat/message.go @@ -605,7 +605,7 @@ func renderToolMessage( return toolMsg } - params := renderToolParams(width-2-lipgloss.Width(toolNameText), toolCall) + params := renderToolParams(width-1-lipgloss.Width(toolNameText), toolCall) responseContent := "" if response != nil { responseContent = renderToolResponse(toolCall, *response, width-2) diff --git a/internal/tui/components/logs/table.go b/internal/tui/components/logs/table.go index dbfc9c9f9..f78e4c490 100644 --- a/internal/tui/components/logs/table.go +++ b/internal/tui/components/logs/table.go @@ -159,8 +159,7 @@ func (i *tableCmp) updateRows() { rows := make([]table.Row, 0, len(i.logs)) for _, log := range i.logs { - // Format timestamp as time - timeStr := log.Timestamp.Format("15:04:05") + timeStr := log.Timestamp.Local().Format("15:04:05") // Include ID as hidden first column for selection row := table.Row{ -- cgit v1.2.3