chore: set notices size

Kujtim Hoxha created

Change summary

internal/llm/tools/tools.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

internal/llm/tools/tools.go 🔗

@@ -101,7 +101,7 @@ func truncateWidthAndHeight(content string) string {
 	result := strings.Join(lines, "\n")
 
 	if heightTruncated || widthTruncated {
-		notices := []string{}
+		notices := make([]string, 0, 2)
 		if heightTruncated {
 			notices = append(notices, "height")
 		}