Compare commits

..

No commits in common. "e6351725e3c9da692cd9a0b11a4acc35e4cd801a" and "c2a30464d1009c6e654e54d0beca64108cd53e26" have entirely different histories.

View file

@ -99,7 +99,7 @@ func chatMessageToOpenAiChatCompletionMessage(message ChatMessage) openai.ChatCo
func chatMessageToText(message ChatMessage) string { func chatMessageToText(message ChatMessage) string {
var msgText string var msgText string
if message.ReplyTo != nil { if message.ReplyTo == nil {
msgText += "In reply to:" msgText += "In reply to:"
msgText += quoteText(presentUserMessageAsText(*message.ReplyTo)) + "\n\n" msgText += quoteText(presentUserMessageAsText(*message.ReplyTo)) + "\n\n"
} }