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 {
|
for {
|
||||||
location := rgx.FindStringSubmatchIndex(text[index:])
|
location := rgx.FindStringSubmatchIndex(text[index:])
|
||||||
if location == nil {
|
if location == nil {
|
||||||
push(index, len(text)-1)
|
push(index, len(text))
|
||||||
|
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user