1
0
mirror of https://github.com/coalaura/whiskr.git synced 2025-09-08 17:06:42 +00:00

small fix

This commit is contained in:
Laura
2025-08-27 17:24:08 +02:00
parent 5479286595
commit 5dbb0b0815

View File

@@ -409,6 +409,10 @@ func SplitImagePairs(text string) []openrouter.ChatMessagePart {
)
push := func(str, end int) {
if str > end {
return
}
rest := text[str:end]
if rest == "" {