MCPcopy Create free account
hub / github.com/Tiiny-AI/PowerInfer / simple_msg

Function simple_msg

smallthinker/tests/test-chat-template.cpp:24–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22#define U8C(x) (const char*)(u8##x)
23
24static common_chat_msg simple_msg(const std::string & role, const std::string & content) {
25 common_chat_msg msg;
26 msg.role = role;
27 msg.content = content;
28 return msg;
29}
30
31int main(void) {
32 std::vector<llama_chat_message> conversation {

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected