Generic function for sending messages. Works with both cassidy_session
objects and directly with thread IDs.
See also
Other chat-functions:
cassidy_chat(),
cassidy_continue(),
cassidy_session(),
cassidy_write_code(),
cassidy_write_file(),
chat_text()
Examples
if (FALSE) { # \dontrun{
# With a session
session <- cassidy_session()
result <- chat(session, "Hello!")
result2 <- chat(session, "How are you?")
# With a thread_id directly
result <- chat("thread_abc123", "Hello!")
} # }