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:
|
case llm.ImagePart:
|
||||||
imgs = append(imgs, v)
|
imgs = append(imgs, v)
|
||||||
case llm.TextPart:
|
case llm.TextPart:
|
||||||
if strings.Contains(v.Text, "omitted") {
|
if v.Text == imageOverflowPlaceholder {
|
||||||
placeholders++
|
placeholders++
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user