Add a message to a thread
Usage
thread_add_message(thread, message)
Arguments
- thread
A thread object
- message
The text of the message to add as a string
Examples
if (FALSE) {
thread <- create_thread()
msg <- thread_add_message(thread, "How does AI work? Explain it in simple terms.")
}