small fixes

This commit is contained in:
Kujtim Hoxha
2025-04-21 13:42:29 +02:00
parent 333ea6ec4b
commit 72afeb9f54
10 changed files with 106 additions and 75 deletions
+1
View File
@@ -389,6 +389,7 @@ func renderToolResponse(toolCall message.ToolCall, response message.ToolResult,
errContent := fmt.Sprintf("Error: %s", strings.ReplaceAll(response.Content, "\n", " "))
errContent = ansi.Truncate(errContent, width-1, "...")
return styles.BaseStyle.
Width(width).
Foreground(styles.Error).
Render(errContent)
}