Closed Jobus0 closed 1 month ago
When the user clears the history, last_message_was_cut_off should reset to False so the AI doesn't get told that it was cut off in the next fresh conversation, since it doesn't know what was said previously anyway.
Another great catch! Thanks mate. Are you in the discord btw?
When the user clears the history, last_message_was_cut_off should reset to False so the AI doesn't get told that it was cut off in the next fresh conversation, since it doesn't know what was said previously anyway.