This commit is contained in:
Daniel 2025-03-22 11:16:19 +08:00
parent 95dc762faf
commit 42c0461e3d
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
2 changed files with 19 additions and 5 deletions

View file

@ -109,7 +109,9 @@ func chatGPTContinueWrite(msg string, contextMsgs []string, cloud bool) (ret str
ret = buf.String()
ret = strings.TrimSpace(ret)
retContextMsgs = append(retContextMsgs, msg, ret)
if "" != ret {
retContextMsgs = append(retContextMsgs, msg, ret)
}
return
}