You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Send error from chatgpt.SendMessage, add tgbot package, conversations management by chatGPT (#43)
* ChatGPT as conversation manager
* fix: sending of error from SendMessage. Separate bot into its own package
* Resolve conflicts - add edit interval to tgbot.New
iferr.Error() =="Bad Request: message is not modified: specified new message content and reply markup are exactly the same as a current content and reply markup of the message" {
iferr.Error() =="Bad Request: message is not modified: specified new message content and reply markup are exactly the same as a current content and reply markup of the message" {
171
-
continue
172
-
}
173
-
174
-
log.Printf("Couldn't perform final edit on message: %v", err)
msg.Text="Send a message to start talking with ChatGPT. You can use /reload at any point to clear the conversation history and start from scratch (don't worry, it won't delete the Telegram messages)."
102
+
text="Send a message to start talking with ChatGPT. You can use /reload at any point to clear the conversation history and start from scratch (don't worry, it won't delete the Telegram messages)."
183
103
case"start":
184
-
msg.Text="Send a message to start talking with ChatGPT. You can use /reload at any point to clear the conversation history and start from scratch (don't worry, it won't delete the Telegram messages)."
104
+
text="Send a message to start talking with ChatGPT. You can use /reload at any point to clear the conversation history and start from scratch (don't worry, it won't delete the Telegram messages)."
iferr.Error() =="Bad Request: message is not modified: specified new message content and reply markup are exactly the same as a current content and reply markup of the message" {
0 commit comments