fix(media): drop oldest images on over-count instead of refusing #8

Merged
steve merged 3 commits from fix/image-overflow-drop-oldest into main 2026-06-28 22:43:20 +00:00
Showing only changes of commit 70b7aebd86 - Show all commits
+1 -1
View File
@@ -173,7 +173,7 @@ func TestNormalizeOverCount(t *testing.T) {
case llm.ImagePart:
imgs = append(imgs, v)
case llm.TextPart:
if strings.Contains(v.Text, "omitted") {
if v.Text == imageOverflowPlaceholder {
placeholders++
}
}