MCPcopy Create free account
hub / github.com/appdevforall/CodeOnTheGo / prompt_add

Function prompt_add

subprojects/llama.cpp/tools/tts/tts.cpp:420–422  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

418}
419
420static void prompt_add(llama_tokens & prompt, llama_token token) {
421 prompt.push_back(token);
422}
423
424static void prompt_add(llama_tokens & prompt, const llama_tokens & tokens) {
425 prompt.insert(prompt.end(), tokens.begin(), tokens.end());

Callers 2

prompt_initFunction · 0.85
mainFunction · 0.85

Calls 5

common_tokenizeFunction · 0.85
push_backMethod · 0.45
insertMethod · 0.45
endMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected