This appends a new response to the chat history
chat_history_append(history, role, content, name = NULL)
list of chat messages
List containing previous responses.
Author of the message. One of c("user", "assistant")
Content of the message. If it is from the user most probably comes from an interactive input.
Name for the author of the message. Currently used to support rendering of help pages