Adds a generic message to the prompt.
This method allows adding any type of Message object.
Example:
message(Message.System("You are a helpful assistant."))
The message to add