Retrieves the default Chat object for dsprrr operations. If no default is set, attempts to auto-detect from environment variables.
Examples
if (FALSE) { # \dontrun{
# Set a default chat
set_default_chat(ellmer::chat_openai())
# Get the default chat
chat <- get_default_chat()
# Check if a default is available without creating one
chat <- get_default_chat(create = FALSE)
} # }
