chore: refactor db

This commit is contained in:
adamdottv
2025-05-13 13:08:43 -05:00
parent d8f3b60625
commit 01b6bf5bb7
19 changed files with 193 additions and 156 deletions

View File

@@ -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)

View File

@@ -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{