fix(media): drop oldest images on over-count instead of refusing #8
+1
-1
@@ -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++
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user