From e130e0385682a0ede0a63630e527328a4d187e49 Mon Sep 17 00:00:00 2001 From: Kujtim Hoxha Date: Mon, 4 Aug 2025 10:38:11 +0200 Subject: [PATCH] chore: set notices size --- internal/llm/tools/tools.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/llm/tools/tools.go b/internal/llm/tools/tools.go index 641794cd74fd662c645c0f4cd634961c28cf915c..d8eb9b30c10378c06700d82a584eab19294f99ae 100644 --- a/internal/llm/tools/tools.go +++ b/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") }