mirror of
https://github.com/coalaura/whiskr.git
synced 2025-12-02 20:22:52 +00:00
small fix
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user