on main help sign in
chore: set notices size
commite130e0385682a0ede0a63630e527328a4d187e49 authorKujtim Hoxha <kujtimii.h@gmail.com> dateMon 4 Aug 2025, 10:38 (1 year ago) parent7bfd046
1 file changed+1−1
internal/llm/tools/tools.go+1−1
internal/llm/tools/tools.go+1−1
@@ -101,7 +101,7 @@ func truncateWidthAndHeight(content string) string {
101101 result := strings.Join(lines, "\n")
102102
103103 if heightTruncated || widthTruncated {
104− notices := []string{}
104+ notices := make([]string, 0, 2)
105105 if heightTruncated {
106106 notices = append(notices, "height")
107107 }