1
0
mirror of https://github.com/coalaura/whiskr.git synced 2025-12-02 20:22:52 +00:00

small fix

This commit is contained in:
Laura
2025-09-20 22:08:41 +02:00
parent 109c648038
commit f6987c870c

View File

@@ -84,7 +84,7 @@ func SplitImagePairs(text string) []openrouter.ChatMessagePart {
for {
location := rgx.FindStringSubmatchIndex(text[index:])
if location == nil {
push(index, len(text)-1)
push(index, len(text))
break
}