This helper function formats a message with a specified role
(e.g., "User", "Assistant", "System Status") into a markdown-styled string.
If the role is "System Status", it includes the status of the Ollama server.
Usage
format_message_md(role, content)
Arguments
- role
A character string specifying the role (e.g., "User", "Assistant", "System Status").
- content
A character string containing the message content.
Value
A character string formatted as markdown.