Compare commits
2 commits
c2a30464d1
...
e6351725e3
Author | SHA1 | Date | |
---|---|---|---|
Alexey Skobkin | e6351725e3 | ||
c3ee85bf35 |
|
@ -99,7 +99,7 @@ func chatMessageToOpenAiChatCompletionMessage(message ChatMessage) openai.ChatCo
|
|||
func chatMessageToText(message ChatMessage) string {
|
||||
var msgText string
|
||||
|
||||
if message.ReplyTo == nil {
|
||||
if message.ReplyTo != nil {
|
||||
msgText += "In reply to:"
|
||||
msgText += quoteText(presentUserMessageAsText(*message.ReplyTo)) + "\n\n"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue