diff --git a/examples/server/utils.hpp b/examples/server/utils.hpp index 4d6dcf550..db6b3b74d 100644 --- a/examples/server/utils.hpp +++ b/examples/server/utils.hpp @@ -132,7 +132,7 @@ inline std::string format_chat(const struct llama_model * model, const std::stri } else if (curr_msg["content"].is_array()) { for (const auto & part : curr_msg["content"]) { if (part.contains("text")) { - content += part["text"].get(); + content += "\n" + part["text"].get(); } } } else {