diff --git a/tests/test-chat.cpp b/tests/test-chat.cpp index 9956c1f1f..d3ad090be 100644 --- a/tests/test-chat.cpp +++ b/tests/test-chat.cpp @@ -18,12 +18,8 @@ using json = nlohmann::ordered_json; static common_chat_msg msg_from_json(const json & message) { - common_chat_msg ret{ - "assistant", - "", - {}, - /* .tool_plan = */ "", - }; + common_chat_msg ret; + ret.role = "assistant"; if (message.contains("content") && !message.at("content").is_null()) { ret.content = message.at("content"); }