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

Function format_tokenizer_response

examples/server/server.cpp:2219–2223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2217}
2218
2219static json format_tokenizer_response(const std::vector<llama_token> &tokens)
2220{
2221 return json{
2222 {"tokens", tokens}};
2223}
2224
2225static json format_detokenized_response(std::string content)
2226{

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected